public class AccordionAdapter extends Object implements IAccordionListener
IAccordionListener| Constructor and Description |
|---|
AccordionAdapter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isActivateEventEnabled()
Indicates whether the 'activate' event is enabled.
If true, the IAccordionListener.onActivate(AjaxRequestTarget, int, ITab) event will be triggered. |
boolean |
isCollapseEventEnabled()
Indicates whether the 'collapse' event is enabled.
If true, the IAccordionListener.onCollapse(AjaxRequestTarget, int, ITab) event will be triggered. |
boolean |
isExpandEventEnabled()
Indicates whether the 'expand' event is enabled.
If true, the IAccordionListener.onExpand(AjaxRequestTarget, int, ITab) event will be triggered. |
boolean |
isSelectEventEnabled()
Indicates whether the 'select' event is enabled.
If true, the IAccordionListener.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.
|
public boolean isSelectEventEnabled()
IAccordionListenerIAccordionListener.onSelect(AjaxRequestTarget, int, ITab) event will be triggered.isSelectEventEnabled in interface IAccordionListenerpublic boolean isActivateEventEnabled()
IAccordionListenerIAccordionListener.onActivate(AjaxRequestTarget, int, ITab) event will be triggered.isActivateEventEnabled in interface IAccordionListenerpublic boolean isExpandEventEnabled()
IAccordionListenerIAccordionListener.onExpand(AjaxRequestTarget, int, ITab) event will be triggered.isExpandEventEnabled in interface IAccordionListenerpublic boolean isCollapseEventEnabled()
IAccordionListenerIAccordionListener.onCollapse(AjaxRequestTarget, int, ITab) event will be triggered.isCollapseEventEnabled in interface IAccordionListenerpublic void onSelect(org.apache.wicket.ajax.AjaxRequestTarget target,
int index,
org.apache.wicket.extensions.markup.html.tabs.ITab tab)
IAccordionListeneronSelect in interface IAccordionListenertarget - the AjaxRequestTargetindex - the tab index that triggered this eventtab - the ITab that corresponds to the indexIAccordionListener.isSelectEventEnabled()public void onActivate(org.apache.wicket.ajax.AjaxRequestTarget target,
int index,
org.apache.wicket.extensions.markup.html.tabs.ITab tab)
IAccordionListeneronActivate in interface IAccordionListenertarget - the AjaxRequestTargetindex - the tab index that triggered this eventtab - the ITab that corresponds to the indexIAccordionListener.isActivateEventEnabled()public void onExpand(org.apache.wicket.ajax.AjaxRequestTarget target,
int index,
org.apache.wicket.extensions.markup.html.tabs.ITab tab)
IAccordionListeneronExpand in interface IAccordionListenertarget - the AjaxRequestTargetindex - the tab index that triggered this eventtab - the ITab that corresponds to the indexIAccordionListener.isExpandEventEnabled()public void onCollapse(org.apache.wicket.ajax.AjaxRequestTarget target,
int index,
org.apache.wicket.extensions.markup.html.tabs.ITab tab)
IAccordionListeneronCollapse in interface IAccordionListenertarget - the AjaxRequestTargetindex - the tab index that triggered this eventtab - the ITab that corresponds to the indexIAccordionListener.isCollapseEventEnabled()Copyright © 2021 7thWeb. All rights reserved.