org.wicketstuff.jquery.crop
Class CropBehaviour
java.lang.Object
org.apache.wicket.behavior.Behavior
org.apache.wicket.behavior.AbstractAjaxBehavior
org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
org.wicketstuff.jquery.JQueryBehavior
org.wicketstuff.jquery.crop.CropBehaviour
- All Implemented Interfaces:
- Serializable, IBehaviorListener, IClusterable, IComponentAwareEventSink, IRequestListener, IComponentAwareHeaderContributor
public class CropBehaviour
- extends JQueryBehavior
- Author:
- Edvin Syse
- See Also:
- Serialized Form
| Methods inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior |
findIndicatorId, generateCallbackScript, getAjaxCallDecorator, getChannel, getChannelName, getFailureScript, getPreconditionScript, getSuccessScript, onBind, onRequest, throttleScript |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IRESIZABLE_JS
public static final ResourceReference IRESIZABLE_JS
IUTIL_JS
public static final ResourceReference IUTIL_JS
CROP_BG
public static final ResourceReference CROP_BG
CropBehaviour
public CropBehaviour()
CropBehaviour
public CropBehaviour(CropOptions options)
getOnReadyScript
protected CharSequence getOnReadyScript()
- Description copied from class:
JQueryBehavior
- to be override by subclass if need to run script when dom is ready. The returned script is
wrapped by caller into <script> tag and the "$(document).ready(function(){...}"
- Overrides:
getOnReadyScript in class JQueryBehavior
- Returns:
- the script to execute when the dom is ready, or null (default)
getCallbackScript
protected CharSequence getCallbackScript()
- Overrides:
getCallbackScript in class AbstractDefaultAjaxBehavior
renderHead
public void renderHead(Component component,
IHeaderResponse response)
- Specified by:
renderHead in interface IComponentAwareHeaderContributor- Overrides:
renderHead in class JQueryBehavior
respond
protected void respond(AjaxRequestTarget target)
- Overrides:
respond in class JQueryBehavior
onCropped
public void onCropped(AjaxRequestTarget target,
int width,
int height,
int top,
int left)
Copyright © 2013. All Rights Reserved.