Class ResizableBehavior
- java.lang.Object
-
- org.apache.wicket.behavior.Behavior
-
- com.googlecode.wicket.jquery.core.JQueryAbstractBehavior
-
- com.googlecode.wicket.jquery.core.JQueryBehavior
-
- com.googlecode.wicket.jquery.ui.JQueryUIBehavior
-
- com.googlecode.wicket.jquery.ui.interaction.resizable.ResizableBehavior
-
- All Implemented Interfaces:
com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware,JQueryDestroyListener.IDestroyable,Serializable,org.apache.wicket.IComponentAwareEventSink,org.apache.wicket.markup.html.IComponentAwareHeaderContributor,org.apache.wicket.util.io.IClusterable
public class ResizableBehavior extends JQueryUIBehavior implements com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware
Provides a jQuery resizable behavior- Author:
- Sebastien Briquet - sebfz1
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classResizableBehavior.OnResizeStartAjaxBehaviorProvides aJQueryAjaxBehaviorthat aims to be wired to the 'start' eventprotected static classResizableBehavior.OnResizeStopAjaxBehaviorProvides aJQueryAjaxBehaviorthat aims to be wired to the 'stop' eventprotected static classResizableBehavior.ResizeEventProvides a base class forResizableBehaviorevent objectsprotected static classResizableBehavior.ResizeStartEventProvides an event object that will be broadcasted by theResizableBehavior.OnResizeStartAjaxBehaviorcallbackprotected static classResizableBehavior.ResizeStopEventProvides an event object that will be broadcasted by theResizableBehavior.OnResizeStopAjaxBehaviorcallback
-
Constructor Summary
Constructors Constructor Description ResizableBehavior(String selector, com.googlecode.wicket.jquery.core.Options options, IResizableListener listener)ConstructorResizableBehavior(String selector, IResizableListener listener)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbind(org.apache.wicket.Component component)protected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehaviornewOnResizeStartAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)Gets a newJQueryAjaxBehaviorthat will be wired to the 'start' eventprotected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehaviornewOnResizeStopAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)Gets a newJQueryAjaxBehaviorthat will be wired to the 'stop' eventvoidonAjax(org.apache.wicket.ajax.AjaxRequestTarget target, com.googlecode.wicket.jquery.core.JQueryEvent event)voidonConfigure(org.apache.wicket.Component component)-
Methods inherited from class com.googlecode.wicket.jquery.ui.JQueryUIBehavior
destroy, onDestroy, widget, widget, widget, widget
-
Methods inherited from class com.googlecode.wicket.jquery.core.JQueryBehavior
$, $, $, $, beforeRender, detach, getMethod, getOption, getOptions, getSelector, off, on, on, register, remove, renderHead, setOption, setOption, setOption, setOptions, setSelector
-
Methods inherited from class com.googlecode.wicket.jquery.core.JQueryAbstractBehavior
add, getJQueryLibrarySettings, renderOnDomReadyScript, renderPriorityHeaderItem, toString
-
-
-
-
Field Detail
-
METHOD
public static final String METHOD
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ResizableBehavior
public ResizableBehavior(String selector, IResizableListener listener)
Constructor- Parameters:
selector- the html selector (ie: "#myId")listener- theIResizableListener
-
ResizableBehavior
public ResizableBehavior(String selector, com.googlecode.wicket.jquery.core.Options options, IResizableListener listener)
Constructor- Parameters:
selector- the html selector (ie: "#myId")options- theOptionslistener- theIResizableListener
-
-
Method Detail
-
bind
public void bind(org.apache.wicket.Component component)
- Overrides:
bindin classorg.apache.wicket.behavior.Behavior
-
onConfigure
public void onConfigure(org.apache.wicket.Component component)
- Overrides:
onConfigurein classJQueryUIBehavior
-
onAjax
public void onAjax(org.apache.wicket.ajax.AjaxRequestTarget target, com.googlecode.wicket.jquery.core.JQueryEvent event)- Specified by:
onAjaxin interfacecom.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware
-
newOnResizeStartAjaxBehavior
protected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior newOnResizeStartAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
Gets a newJQueryAjaxBehaviorthat will be wired to the 'start' event- Parameters:
source- theIJQueryAjaxAware- Returns:
- a new
OnResizeStartAjaxBehaviorby default
-
newOnResizeStopAjaxBehavior
protected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior newOnResizeStopAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
Gets a newJQueryAjaxBehaviorthat will be wired to the 'stop' event- Parameters:
source- theIJQueryAjaxAware- Returns:
- a new
OnResizeStopAjaxBehaviorby default
-
-