public abstract class ResizableBehavior extends JQueryUIBehavior implements IJQueryAjaxAware
| Modifier and Type | Class and Description |
|---|---|
protected static class |
ResizableBehavior.ResizeEvent
Provides a base class for resize event object
|
protected static class |
ResizableBehavior.ResizeStartEvent
Provides an event object that will be broadcasted by the
JQueryAjaxBehavior 'start' callback |
protected static class |
ResizableBehavior.ResizeStopEvent
Provides an event object that will be broadcasted by the
JQueryAjaxBehavior 'stop' callback |
method, options, selector| Constructor and Description |
|---|
ResizableBehavior(java.lang.String selector)
Constructor
|
ResizableBehavior(java.lang.String selector,
Options options)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
bind(org.apache.wicket.Component component) |
boolean |
isResizeStartEventEnabled()
Indicates whether the 'start' event is enabled.
If true, the onResizeStart(AjaxRequestTarget, int, int, int, int) event will be triggered. |
boolean |
isResizeStopEventEnabled()
Indicates whether the 'stop' event is enabled.
If true, the onResizeStop(AjaxRequestTarget, int, int, int, int) event will be triggered. |
protected JQueryAjaxBehavior |
newOnResizeStartBehavior()
Gets a new
JQueryAjaxBehavior that will be called on 'start' javascript event |
protected JQueryAjaxBehavior |
newOnResizeStopBehavior()
Gets a new
JQueryAjaxBehavior that will be called on 'stop' javascript event |
void |
onAjax(org.apache.wicket.ajax.AjaxRequestTarget target,
JQueryEvent event) |
void |
onConfigure(org.apache.wicket.Component component) |
void |
onResizeStart(org.apache.wicket.ajax.AjaxRequestTarget target,
int top,
int left,
int width,
int height)
Triggered when the resize event starts
|
void |
onResizeStop(org.apache.wicket.ajax.AjaxRequestTarget target,
int top,
int left,
int width,
int height)
Triggered when the resize event stops
|
$, $, $, beforeRender, getMethod, getOption, getOptions, getSelector, on, on, on, renderHead, setOption, setOption, setOption, setOptions, setSelectoradd, getJQueryLibrarySettings, getToken, renderScript, toStringpublic ResizableBehavior(java.lang.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 onConfigure(org.apache.wicket.Component component)
onConfigure in class JQueryUIBehaviorpublic void onAjax(org.apache.wicket.ajax.AjaxRequestTarget target,
JQueryEvent event)
onAjax in interface IJQueryAjaxAwareprotected JQueryAjaxBehavior newOnResizeStartBehavior()
JQueryAjaxBehavior that will be called on 'start' javascript eventJQueryAjaxBehaviorprotected JQueryAjaxBehavior newOnResizeStopBehavior()
JQueryAjaxBehavior that will be called on 'stop' javascript eventJQueryAjaxBehaviorpublic boolean isResizeStartEventEnabled()
onResizeStart(AjaxRequestTarget, int, int, int, int) event will be triggered.public boolean isResizeStopEventEnabled()
onResizeStop(AjaxRequestTarget, int, int, int, int) event will be triggered.public void onResizeStart(org.apache.wicket.ajax.AjaxRequestTarget target,
int top,
int left,
int width,
int height)
target - the AjaxRequestTargettop - the position's top valueleft - the position's left valuewidth - the size's width valueheight - the size's height valueisResizeStartEventEnabled()public void onResizeStop(org.apache.wicket.ajax.AjaxRequestTarget target,
int top,
int left,
int width,
int height)
target - the AjaxRequestTargettop - the position's top valueleft - the position's left valuewidth - the size's width valueheight - the size's height valueisResizeStopEventEnabled()Copyright © 2014 7thWeb. All Rights Reserved.