Class TabsAdapter
java.lang.Object
com.googlecode.wicket.jquery.ui.widget.tabs.TabsAdapter
- All Implemented Interfaces:
ITabsListener,Serializable,org.apache.wicket.util.io.IClusterable
Adapter class for
ITabsListener- Author:
- Sebastien Briquet - sebfz1
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether the 'activate' event is enabled.
If true, theITabsListener.onActivate(AjaxRequestTarget, int, ITab)event will be triggered on 'activate'booleanIndicates whether the 'beforeActivate' event is enabled.
If true, theITabsListener.onActivating(AjaxRequestTarget, int, ITab)event will be triggered.booleanIndicates whether the 'create' event is enabled.
If true, theITabsListener.onActivate(AjaxRequestTarget, int, ITab)event will be triggered on 'create'voidonActivate(org.apache.wicket.ajax.AjaxRequestTarget target, int index, org.apache.wicket.extensions.markup.html.tabs.ITab tab) Triggered when a tab has been activated ('create' and 'activate' event).voidonActivating(org.apache.wicket.ajax.AjaxRequestTarget target, int index, org.apache.wicket.extensions.markup.html.tabs.ITab tab) Triggered when a tab is being activated ('beforeActivate' event).
-
Constructor Details
-
TabsAdapter
public TabsAdapter()
-
-
Method Details
-
isCreateEventEnabled
public boolean isCreateEventEnabled()Description copied from interface:ITabsListenerIndicates whether the 'create' event is enabled.
If true, theITabsListener.onActivate(AjaxRequestTarget, int, ITab)event will be triggered on 'create'- Specified by:
isCreateEventEnabledin interfaceITabsListener- Returns:
- true by default
-
isActivateEventEnabled
public boolean isActivateEventEnabled()Description copied from interface:ITabsListenerIndicates whether the 'activate' event is enabled.
If true, theITabsListener.onActivate(AjaxRequestTarget, int, ITab)event will be triggered on 'activate'- Specified by:
isActivateEventEnabledin interfaceITabsListener- Returns:
- true by default
-
isActivatingEventEnabled
public boolean isActivatingEventEnabled()Description copied from interface:ITabsListenerIndicates whether the 'beforeActivate' event is enabled.
If true, theITabsListener.onActivating(AjaxRequestTarget, int, ITab)event will be triggered.- Specified by:
isActivatingEventEnabledin interfaceITabsListener- Returns:
- false by default
-
onActivate
public void onActivate(org.apache.wicket.ajax.AjaxRequestTarget target, int index, org.apache.wicket.extensions.markup.html.tabs.ITab tab) Description copied from interface:ITabsListenerTriggered when a tab has been activated ('create' and 'activate' event).- Specified by:
onActivatein interfaceITabsListener- Parameters:
target- theAjaxRequestTargetindex- the tab index that triggered this eventtab- theITabthat corresponds to the index
-
onActivating
public void onActivating(org.apache.wicket.ajax.AjaxRequestTarget target, int index, org.apache.wicket.extensions.markup.html.tabs.ITab tab) Description copied from interface:ITabsListenerTriggered when a tab is being activated ('beforeActivate' event).- Specified by:
onActivatingin interfaceITabsListener- Parameters:
target- theAjaxRequestTargetindex- the previously selected tab indextab- theITabthat corresponds to the index
-