public abstract class TreeBehavior extends AbstractYuiAjaxBehavior
Modifier and Type | Class and Description |
---|---|
static class |
TreeBehavior.DefaultTreeItem |
static class |
TreeBehavior.TreeItem |
Modifier and Type | Field and Description |
---|---|
protected TreeSettings |
settings |
Constructor and Description |
---|
TreeBehavior(TreeSettings settings) |
Modifier and Type | Method and Description |
---|---|
void |
addHeaderContribution(IYuiContext context)
Override this method to get access to the IYuiContext
|
void |
detach(org.apache.wicket.Component component) |
protected String |
getClientClassname()
Determines which javascript class is used
|
protected abstract TreeBehavior.TreeItem |
getRootNode() |
protected String |
getWidgetId() |
protected void |
onClick(org.apache.wicket.ajax.AjaxRequestTarget target,
String uuid) |
protected void |
onDblClick(org.apache.wicket.ajax.AjaxRequestTarget target,
String uuid) |
protected void |
respond(org.apache.wicket.ajax.AjaxRequestTarget target) |
getCallbackFunction, getCallbackParameters, onRenderHead, renderHead, updateAjaxSettings
findIndicatorId, generateCallbackScript, getAjaxCallDecorator, getCallbackScript, getCallbackScript, getChannelName, getFailureScript, getPreconditionScript, getSuccessScript, onBind, onRequest, throttleScript
bind, getCallbackUrl, getCallbackUrl, getComponent, getImplementationId, getStatelessHint, onComponentRendered, onComponentTag, onComponentTag, onRendered, onRenderHeadContribution, onRenderHeadInitContribution
protected final TreeSettings settings
public TreeBehavior(TreeSettings settings)
protected void respond(org.apache.wicket.ajax.AjaxRequestTarget target)
respond
in class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
protected void onDblClick(org.apache.wicket.ajax.AjaxRequestTarget target, String uuid)
protected void onClick(org.apache.wicket.ajax.AjaxRequestTarget target, String uuid)
protected abstract TreeBehavior.TreeItem getRootNode()
protected String getWidgetId()
public void addHeaderContribution(IYuiContext context)
AbstractYuiAjaxBehavior
addHeaderContribution
in class AbstractYuiAjaxBehavior
context
- The IYuiContext this behavior can use to register YUI-modules and the likes.public void detach(org.apache.wicket.Component component)
detach
in interface org.apache.wicket.behavior.IBehavior
detach
in class org.apache.wicket.behavior.AbstractBehavior
protected String getClientClassname()
Copyright © 2007-2013 Hippo B.V. (http://www.onehippo.com). All Rights Reserved.