public interface IAccordionListener
extends org.apache.wicket.util.io.IClusterable
AccordionPanel widget and the AccordionBehaviorAjaxTab 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 |
isCollapseEventEnabled()
Indicates whether the 'collapse' event is enabled.
If true, the onCollapse(AjaxRequestTarget, int, ITab) event will be triggered. |
boolean |
isExpandEventEnabled()
Indicates whether the 'expand' event is enabled.
If true, the onExpand(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. |
void |
onActivate(org.apache.wicket.ajax.AjaxRequestTarget target,
int index,
org.apache.wicket.extensions.markup.html.tabs.ITab tab)
Triggered when an item of a PanelBar is activated.
|
void |
onCollapse(org.apache.wicket.ajax.AjaxRequestTarget target,
int index,
org.apache.wicket.extensions.markup.html.tabs.ITab tab)
Triggered when an item of a PanelBar is collapsed.
|
void |
onExpand(org.apache.wicket.ajax.AjaxRequestTarget target,
int index,
org.apache.wicket.extensions.markup.html.tabs.ITab tab)
Triggered when an item of a PanelBar is expanded.
|
void |
onSelect(org.apache.wicket.ajax.AjaxRequestTarget target,
int index,
org.apache.wicket.extensions.markup.html.tabs.ITab tab)
Triggered when an item of a PanelBar is selected.
|
boolean isSelectEventEnabled()
onSelect(AjaxRequestTarget, int, ITab) event will be triggered.boolean isActivateEventEnabled()
onActivate(AjaxRequestTarget, int, ITab) event will be triggered.boolean isExpandEventEnabled()
onExpand(AjaxRequestTarget, int, ITab) event will be triggered.boolean isCollapseEventEnabled()
onCollapse(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 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()void onExpand(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 indexisExpandEventEnabled()void onCollapse(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 indexisCollapseEventEnabled()Copyright © 2021 7thWeb. All rights reserved.