public class SplitterBehavior extends KendoAbstractBehavior implements IJQueryAjaxAware
| Modifier and Type | Class and Description |
|---|---|
protected static class |
SplitterBehavior.CollapseEvent
An event object that will be broadcasted when a panes collapses
|
protected static class |
SplitterBehavior.ExpandEvent
An event object that will be broadcasted when a panes expands
|
| Modifier and Type | Field and Description |
|---|---|
static String |
METHOD |
method, options, selector| Constructor and Description |
|---|
SplitterBehavior(String selector)
Constructor
|
SplitterBehavior(String selector,
Options options)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
bind(org.apache.wicket.Component component) |
void |
collapse(org.apache.wicket.ajax.AjaxRequestTarget target,
String pane)
Collapses the specified pane
Note: Invoking the method will not trigger a collapse event. |
void |
expand(org.apache.wicket.ajax.AjaxRequestTarget target,
String pane)
Expands the specified pane
Note: Invoking the method will not trigger an expand event. |
boolean |
isCollapseEventEnabled()
Indicates whether the 'collapse' event is enabled.
If true, the onCollapse(AjaxRequestTarget, String) event will be triggered. |
boolean |
isExpandEventEnabled()
Indicates whether the 'expand' event is enabled.
If true, the onExpand(AjaxRequestTarget, String) event will be triggered. |
protected JQueryAjaxBehavior |
newCollapseBehavior()
Gets a new
JQueryAjaxBehavior that acts as the 'collapse' callback |
protected JQueryAjaxBehavior |
newExpandBehavior()
Gets a new
JQueryAjaxBehavior that acts as the 'expand' callback |
void |
onAjax(org.apache.wicket.ajax.AjaxRequestTarget target,
JQueryEvent event) |
void |
onCollapse(org.apache.wicket.ajax.AjaxRequestTarget target,
String paneId)
Triggered when a panel collapses
|
void |
onConfigure(org.apache.wicket.Component component) |
void |
onExpand(org.apache.wicket.ajax.AjaxRequestTarget target,
String paneId)
Triggered when a panel expands
|
$, $, $, beforeRender, getMethod, getOption, getOptions, getSelector, on, on, renderHead, setOption, setOptions, setSelectoradd, getJQueryLibrarySettings, renderScript, toStringpublic static final String METHOD
public SplitterBehavior(String selector)
selector - the html selector (ie: "#myId")public void bind(org.apache.wicket.Component component)
bind in class org.apache.wicket.behavior.Behaviorpublic void expand(org.apache.wicket.ajax.AjaxRequestTarget target,
String pane)
target - the AjaxRequestTargetpane - the pane selector (ie: "#bottom")public void collapse(org.apache.wicket.ajax.AjaxRequestTarget target,
String pane)
target - the AjaxRequestTargetpane - the pane selector (ie: "#bottom")public boolean isExpandEventEnabled()
onExpand(AjaxRequestTarget, String) event will be triggered.public boolean isCollapseEventEnabled()
onCollapse(AjaxRequestTarget, String) event will be triggered.public void onConfigure(org.apache.wicket.Component component)
onConfigure in class JQueryBehaviorpublic void onAjax(org.apache.wicket.ajax.AjaxRequestTarget target,
JQueryEvent event)
onAjax in interface IJQueryAjaxAwarepublic void onExpand(org.apache.wicket.ajax.AjaxRequestTarget target,
String paneId)
target - the AjaxRequestTargetpaneId - the panel id (html-id)public void onCollapse(org.apache.wicket.ajax.AjaxRequestTarget target,
String paneId)
target - the AjaxRequestTargetpaneId - the panel id (html-id)protected JQueryAjaxBehavior newExpandBehavior()
JQueryAjaxBehavior that acts as the 'expand' callbackJQueryAjaxBehaviorprotected JQueryAjaxBehavior newCollapseBehavior()
JQueryAjaxBehavior that acts as the 'collapse' callbackJQueryAjaxBehaviorCopyright © 2014 7thWeb. All Rights Reserved.