org.odlabs.wiquery.core.behavior
Class WiQueryAbstractBehavior

java.lang.Object
  extended by org.apache.wicket.behavior.Behavior
      extended by org.odlabs.wiquery.core.behavior.WiQueryAbstractBehavior
All Implemented Interfaces:
Serializable, org.apache.wicket.IClusterable, org.apache.wicket.IComponentAwareEventSink, org.apache.wicket.markup.html.IComponentAwareHeaderContributor, IWiQueryPlugin
Direct Known Subclasses:
ButtonBehavior, DialogUtilsBehavior, DraggableBehavior, DroppableBehavior, EffectBehavior, PositionBehavior, ResizableBehavior, SelectableBehavior, SortableBehavior, WiQueryEventBehavior

public abstract class WiQueryAbstractBehavior
extends org.apache.wicket.behavior.Behavior
implements IWiQueryPlugin

See Also:
Serialized Form

Constructor Summary
WiQueryAbstractBehavior()
           
 
Method Summary
 void bind(org.apache.wicket.Component hostComponent)
          Bind this handler to the given component.
 org.apache.wicket.Component getComponent()
           
protected  void onBind()
          Called when the component was bound to it's host component.
abstract  JsStatement statement()
          Returns the main JsStatement used to create the plugin.
 
Methods inherited from class org.apache.wicket.behavior.Behavior
afterRender, beforeRender, canCallListenerInterface, canCallListenerInterface, detach, getStatelessHint, isEnabled, isTemporary, onComponentTag, onConfigure, onEvent, onException, renderHead, unbind
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WiQueryAbstractBehavior

public WiQueryAbstractBehavior()
Method Detail

bind

public final void bind(org.apache.wicket.Component hostComponent)
Bind this handler to the given component.

Overrides:
bind in class org.apache.wicket.behavior.Behavior
Parameters:
hostComponent - the component to bind to

onBind

protected void onBind()
Called when the component was bound to it's host component. You can get the bound host component by calling getComponent.


getComponent

public org.apache.wicket.Component getComponent()
Returns:
the binded component

statement

public abstract JsStatement statement()
Description copied from interface: IWiQueryPlugin
Returns the main JsStatement used to create the plugin.

Specified by:
statement in interface IWiQueryPlugin
Returns:
The JsStatement corresponding to this component.


Copyright © 2012. All Rights Reserved.