public interface ITabsListener
extends org.apache.wicket.util.io.IClusterable
TabbedPanel widget and the TabsBehaviorAjaxTab to load.| Modifier and Type | Method and Description |
|---|---|
boolean |
isActivateEventEnabled()
Indicates whether the 'activate' event is enabled.
If true, the onActivate(AjaxRequestTarget, int, ITab) event will be triggered. |
boolean |
isSelectEventEnabled()
Indicates whether the 'select' event is enabled.
If true, the onSelect(AjaxRequestTarget, int, ITab) event will be triggered. |
boolean |
isShowEventEnabled()
Indicates whether the 'show' event is enabled.
If true, the onShow(AjaxRequestTarget, int, ITab) event will be triggered. |
void |
onActivate(org.apache.wicket.ajax.AjaxRequestTarget target,
int index,
org.apache.wicket.extensions.markup.html.tabs.ITab tab)
Triggered after a tab is being made visible and its animation complete
|
void |
onSelect(org.apache.wicket.ajax.AjaxRequestTarget target,
int index,
org.apache.wicket.extensions.markup.html.tabs.ITab tab)
Triggered before a tab is selected.
|
void |
onShow(org.apache.wicket.ajax.AjaxRequestTarget target,
int index,
org.apache.wicket.extensions.markup.html.tabs.ITab tab)
Triggered just after a tab is being made visible, but before the end of the animation.
|
boolean isSelectEventEnabled()
onSelect(AjaxRequestTarget, int, ITab) event will be triggered.boolean isShowEventEnabled()
onShow(AjaxRequestTarget, int, ITab) event will be triggered.boolean isActivateEventEnabled()
onActivate(AjaxRequestTarget, int, ITab) event will be triggered.void onSelect(org.apache.wicket.ajax.AjaxRequestTarget target,
int index,
org.apache.wicket.extensions.markup.html.tabs.ITab tab)
target - the AjaxRequestTargetindex - the tab index that triggered this eventtab - the ITab that corresponds to the indexisSelectEventEnabled()void onShow(org.apache.wicket.ajax.AjaxRequestTarget target,
int index,
org.apache.wicket.extensions.markup.html.tabs.ITab tab)
target - the AjaxRequestTargetindex - the tab index that triggered this eventtab - the ITab that corresponds to the indexisShowEventEnabled()void onActivate(org.apache.wicket.ajax.AjaxRequestTarget target,
int index,
org.apache.wicket.extensions.markup.html.tabs.ITab tab)
target - the AjaxRequestTargetindex - the tab index that triggered this eventtab - the ITab that corresponds to the indexisActivateEventEnabled()Copyright © 2021 7thWeb. All rights reserved.