public class CropBehaviour extends JQueryBehavior
Modifier and Type | Field and Description |
---|---|
static org.apache.wicket.request.resource.ResourceReference |
CROP_BG |
static org.apache.wicket.request.resource.ResourceReference |
IRESIZABLE_JS |
static org.apache.wicket.request.resource.ResourceReference |
IUTIL_JS |
INTERFACE_JS, JQUERY_BGIFRAME_JS, JQUERY_DEBUG_JS, JQUERY_REGEXP, JQUERY_UI_JS
Constructor and Description |
---|
CropBehaviour() |
CropBehaviour(CropOptions options) |
Modifier and Type | Method and Description |
---|---|
protected CharSequence |
getOnReadyScript()
to be override by subclass if need to run script when dom is ready.
|
void |
onCropped(org.apache.wicket.ajax.AjaxRequestTarget target,
int width,
int height,
int top,
int left) |
void |
renderHead(org.apache.wicket.Component component,
org.apache.wicket.markup.head.IHeaderResponse response) |
protected void |
respond(org.apache.wicket.ajax.AjaxRequestTarget target) |
protected void |
updateAjaxAttributes(org.apache.wicket.ajax.attributes.AjaxRequestAttributes attributes) |
getIncludeJQueryJS, logger
findIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, onBind, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributes
afterRender, bind, getCallbackUrl, getComponent, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbind
public static final org.apache.wicket.request.resource.ResourceReference IRESIZABLE_JS
public static final org.apache.wicket.request.resource.ResourceReference IUTIL_JS
public static final org.apache.wicket.request.resource.ResourceReference CROP_BG
public CropBehaviour()
public CropBehaviour(CropOptions options)
protected CharSequence getOnReadyScript()
JQueryBehavior
getOnReadyScript
in class JQueryBehavior
protected void updateAjaxAttributes(org.apache.wicket.ajax.attributes.AjaxRequestAttributes attributes)
updateAjaxAttributes
in class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
public void renderHead(org.apache.wicket.Component component, org.apache.wicket.markup.head.IHeaderResponse response)
renderHead
in interface org.apache.wicket.markup.html.IComponentAwareHeaderContributor
renderHead
in class JQueryBehavior
protected void respond(org.apache.wicket.ajax.AjaxRequestTarget target)
respond
in class JQueryBehavior
public void onCropped(org.apache.wicket.ajax.AjaxRequestTarget target, int width, int height, int top, int left)
Copyright © 2015. All rights reserved.