Class TabsAdapter
- java.lang.Object
-
- com.googlecode.wicket.jquery.ui.widget.tabs.TabsAdapter
-
- All Implemented Interfaces:
ITabsListener,Serializable,org.apache.wicket.util.io.IClusterable
public class TabsAdapter extends Object implements ITabsListener
Adapter class forITabsListener- Author:
- Sebastien Briquet - sebfz1
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TabsAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisActivateEventEnabled()Indicates whether the 'activate' event is enabled.
If true, theITabsListener.onActivate(AjaxRequestTarget, int, ITab)event will be triggered on 'activate'booleanisActivatingEventEnabled()Indicates whether the 'beforeActivate' event is enabled.
If true, theITabsListener.onActivating(AjaxRequestTarget, int, ITab)event will be triggered.booleanisCreateEventEnabled()Indicates 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).
-
-
-
Method Detail
-
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
-
-