Class TreeBehavior

java.lang.Object
org.apache.wicket.behavior.Behavior
org.apache.wicket.behavior.AbstractAjaxBehavior
org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
org.hippoecm.frontend.plugins.yui.AbstractYuiAjaxBehavior
org.hippoecm.frontend.plugins.yui.tree.TreeBehavior
All Implemented Interfaces:
Serializable, org.apache.wicket.IComponentAwareEventSink, org.apache.wicket.IRequestListener, org.apache.wicket.markup.html.IComponentAwareHeaderContributor, org.apache.wicket.util.io.IClusterable

public abstract class TreeBehavior extends AbstractYuiAjaxBehavior
Renders a YUI-treeview: http://developer.yahoo.com/yui/treeview/
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
    static class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final TreeSettings
     

    Fields inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior

    INDICATOR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Override this method to get access to the IYuiContext
    protected String
    Determines which javascript class is used
    protected abstract TreeBehavior.TreeItem
     
    protected String
     
    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)
     

    Methods inherited from class org.hippoecm.frontend.plugins.yui.AbstractYuiAjaxBehavior

    onRenderHead, renderHead, updateAjaxAttributes, updateAjaxSettings

    Methods inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior

    findIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, onBind, onMethodMismatch, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributes

    Methods inherited from class org.apache.wicket.behavior.AbstractAjaxBehavior

    afterRender, bind, getCallbackUrl, getComponent, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbind

    Methods inherited from class org.apache.wicket.behavior.Behavior

    beforeRender, canCallListener, detach, getStatelessHint, isEnabled, isTemporary, onAttribute, onConfigure, onEvent, onException, onRemove, onTag

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.wicket.IRequestListener

    rendersPage
  • Field Details

  • Constructor Details

  • Method Details

    • respond

      protected void respond(org.apache.wicket.ajax.AjaxRequestTarget target)
      Specified by:
      respond in class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
    • onDblClick

      protected void onDblClick(org.apache.wicket.ajax.AjaxRequestTarget target, String uuid)
    • onClick

      protected void onClick(org.apache.wicket.ajax.AjaxRequestTarget target, String uuid)
    • getRootNode

      protected abstract TreeBehavior.TreeItem getRootNode()
    • getWidgetId

      protected String getWidgetId()
    • addHeaderContribution

      public void addHeaderContribution(IYuiContext context)
      Description copied from class: AbstractYuiAjaxBehavior
      Override this method to get access to the IYuiContext
      Overrides:
      addHeaderContribution in class AbstractYuiAjaxBehavior
      Parameters:
      context - The IYuiContext this behavior can use to register YUI-modules and the likes.
    • getClientClassname

      protected String getClientClassname()
      Determines which javascript class is used