public abstract class AccordionBehavior extends KendoUIBehavior implements com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AccordionBehavior.ActivateEvent
Provides an event object that will be broadcasted by the
AccordionBehavior.OnActivateAjaxBehavior callback |
protected static class |
AccordionBehavior.CollapseEvent
Provides an event object that will be broadcasted by the
AccordionBehavior.OnCollapseAjaxBehavior callback |
protected static class |
AccordionBehavior.ExpandEvent
Provides an event object that will be broadcasted by the
AccordionBehavior.OnExpandAjaxBehavior callback |
protected static class |
AccordionBehavior.OnActivateAjaxBehavior
Provides a
JQueryAjaxBehavior that aims to be wired to the 'activate' event |
protected static class |
AccordionBehavior.OnCollapseAjaxBehavior
Provides a
JQueryAjaxBehavior that aims to be wired to the 'collapse' event |
protected static class |
AccordionBehavior.OnExpandAjaxBehavior
Provides a
JQueryAjaxBehavior that aims to be wired to the 'expand' event |
protected static class |
AccordionBehavior.OnSelectAjaxBehavior
Provides a
JQueryAjaxBehavior that aims to be wired to the 'select' event |
protected static class |
AccordionBehavior.SelectEvent
Provides an event object that will be broadcasted by the
AccordionBehavior.OnSelectAjaxBehavior callback |
| Constructor and Description |
|---|
AccordionBehavior(String selector,
IAccordionListener listener)
Constructor
|
AccordionBehavior(String selector,
com.googlecode.wicket.jquery.core.Options options,
IAccordionListener listener)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
bind(org.apache.wicket.Component component) |
protected abstract List<org.apache.wicket.extensions.markup.html.tabs.ITab> |
getTabs()
Gets the reference
List of ITabs.Usually the model object of the component on which this AccordionBehavior is bound to. |
protected List<org.apache.wicket.extensions.markup.html.tabs.ITab> |
getVisibleTabs()
Gets a read-only
ITab List having its visible flag set to true. |
protected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior |
newOnActivateAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
Gets a new
JQueryAjaxBehavior that will be wired to the 'activate' event |
protected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior |
newOnCollapseAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
Gets a new
JQueryAjaxBehavior that will be wired to the 'collapse' event |
protected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior |
newOnExpandAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
Gets a new
JQueryAjaxBehavior that will be wired to the 'expand' event |
protected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior |
newOnSelectAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
Gets a new
JQueryAjaxBehavior that will be wired to the 'select' event |
void |
onAjax(org.apache.wicket.ajax.AjaxRequestTarget target,
com.googlecode.wicket.jquery.core.JQueryEvent event) |
void |
onConfigure(org.apache.wicket.Component component) |
void |
renderHead(org.apache.wicket.Component component,
org.apache.wicket.markup.head.IHeaderResponse response) |
void |
select(int index,
org.apache.wicket.core.request.handler.IPartialPageRequestHandler handler)
Selects and expands a tab, identified by its index
Warning: the index is related to visible tabs only |
add, destroy, onDestroy, widget, widget, widget, widget$, $, $, $, beforeRender, detach, getMethod, getOption, getOptions, getSelector, off, on, on, register, remove, setOption, setOption, setOption, setOptions, setSelectoradd, getJQueryLibrarySettings, renderOnDomReadyScript, renderPriorityHeaderItem, toStringpublic static final String METHOD
public AccordionBehavior(String selector, IAccordionListener listener)
selector - the html selector (ie: "#myId")listener - the IAccordionListenerpublic AccordionBehavior(String selector, com.googlecode.wicket.jquery.core.Options options, IAccordionListener listener)
selector - the html selector (ie: "#myId")options - the Optionslistener - the IAccordionListenerprotected abstract List<org.apache.wicket.extensions.markup.html.tabs.ITab> getTabs()
List of ITabs.AccordionBehavior is bound to.Listprotected List<org.apache.wicket.extensions.markup.html.tabs.ITab> getVisibleTabs()
ITab List having its visible flag set to true.List of ITabspublic void bind(org.apache.wicket.Component component)
bind in class org.apache.wicket.behavior.Behaviorpublic void renderHead(org.apache.wicket.Component component,
org.apache.wicket.markup.head.IHeaderResponse response)
renderHead in interface org.apache.wicket.markup.html.IComponentAwareHeaderContributorrenderHead in class KendoUIBehaviorpublic void select(int index,
org.apache.wicket.core.request.handler.IPartialPageRequestHandler handler)
handler - the IPartialPageRequestHandlerindex - the visible tab's indexpublic void onConfigure(org.apache.wicket.Component component)
onConfigure in class KendoUIBehaviorpublic void onAjax(org.apache.wicket.ajax.AjaxRequestTarget target,
com.googlecode.wicket.jquery.core.JQueryEvent event)
onAjax in interface com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAwareprotected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior newOnSelectAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
JQueryAjaxBehavior that will be wired to the 'select' eventsource - the IJQueryAjaxAwareOnSelectAjaxBehavior by defaultprotected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior newOnActivateAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
JQueryAjaxBehavior that will be wired to the 'activate' eventsource - the IJQueryAjaxAwareOnActivateAjaxBehavior by defaultprotected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior newOnExpandAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
JQueryAjaxBehavior that will be wired to the 'expand' eventsource - the IJQueryAjaxAwareOnExpandAjaxBehavior by defaultprotected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior newOnCollapseAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
JQueryAjaxBehavior that will be wired to the 'collapse' eventsource - the IJQueryAjaxAwareOnCollapseAjaxBehavior by defaultCopyright © 2021 7thWeb. All rights reserved.