public class AccordionBehavior
extends org.wicketstuff.jwicket.ui.AbstractJqueryUiEmbeddedBehavior
implements org.wicketstuff.jwicket.IStyleResolver
| Modifier and Type | Field and Description |
|---|---|
protected org.wicketstuff.jwicket.JsMap |
options |
static org.wicketstuff.jwicket.JQueryResourceReference |
uiAccordionJs |
jQueryUiAccordionCss, jQueryUiBaseCss, jQueryUiCoreJs, jQueryUiCss, jQueryUiCustomCss, jQueryUiMouseJs, jQueryUiPositionJs, jQueryUiThemeCss, jQueryUiWidgetJsINDICATOR| Constructor and Description |
|---|
AccordionBehavior() |
| Modifier and Type | Method and Description |
|---|---|
org.wicketstuff.jwicket.JQueryCssResourceReference[] |
getCssResources() |
int |
getCurrentExpandedIndex() |
protected org.wicketstuff.jwicket.JQueryAjaxBehavior.JsBuilder |
getJsBuilder() |
protected void |
onCollapse(AjaxRequestTarget target,
Component headerToExpand,
Component contentToExpand,
int index) |
protected void |
onExpand(AjaxRequestTarget target,
Component headerToExpand,
Component contentToExpand,
int index) |
protected void |
respond(AjaxRequestTarget target)
Handles the event processing during resizing.
|
AccordionBehavior |
setActive(AjaxRequestTarget target,
int value) |
AccordionBehavior |
setActive(int value)
Sets the 'active' property for this accordion.
|
AccordionBehavior |
setAutoHeight(AjaxRequestTarget target,
boolean value) |
AccordionBehavior |
setAutoHeight(boolean value)
Sets the 'autoHeight' property for this accordion.
|
AccordionBehavior |
setCollapsible(AjaxRequestTarget target,
boolean value) |
AccordionBehavior |
setCollapsible(boolean value)
Sets the 'collapsible' property for this accordion.
|
isAlreadyRendered, renderHead, setRestoreAfterRedraw, updateBehavioraddCssResources, addUserProvidedResourceReferences, addUserProvidedResourceReferences, getUserProvidedResourceReferences, printParameters, printParameters, setRawOptionsfindIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, onBind, onMethodMismatch, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributes, updateAjaxAttributesafterRender, bind, getCallbackUrl, getComponent, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbindbeforeRender, canCallListener, detach, getStatelessHint, isEnabled, isTemporary, onAttribute, onConfigure, onEvent, onException, onRemove, onTagclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrendersPagepublic static final org.wicketstuff.jwicket.JQueryResourceReference uiAccordionJs
protected org.wicketstuff.jwicket.JsMap options
public AccordionBehavior setAutoHeight(boolean value)
value - the autoHeight valuepublic AccordionBehavior setAutoHeight(AjaxRequestTarget target, boolean value)
public AccordionBehavior setCollapsible(boolean value)
value - the collapsible valuepublic AccordionBehavior setCollapsible(AjaxRequestTarget target, boolean value)
public AccordionBehavior setActive(int value)
value - the active (=expanded) itempublic AccordionBehavior setActive(AjaxRequestTarget target, int value)
public int getCurrentExpandedIndex()
protected void respond(AjaxRequestTarget target)
respond in class org.wicketstuff.jwicket.JQueryAjaxBehaviorprotected org.wicketstuff.jwicket.JQueryAjaxBehavior.JsBuilder getJsBuilder()
getJsBuilder in class org.wicketstuff.jwicket.JQueryDurableAjaxBehaviorpublic org.wicketstuff.jwicket.JQueryCssResourceReference[] getCssResources()
getCssResources in interface org.wicketstuff.jwicket.IStyleResolverprotected void onExpand(AjaxRequestTarget target, Component headerToExpand, Component contentToExpand, int index)
protected void onCollapse(AjaxRequestTarget target, Component headerToExpand, Component contentToExpand, int index)
Copyright © 2023. All rights reserved.