public interface IDraggableListener
extends org.apache.wicket.util.io.IClusterable
Draggable widget and the DraggableBehavior| Modifier and Type | Method and Description |
|---|---|
boolean |
isCancelEventEnabled()
Indicates whether the 'dragcancel' event is enabled.
If true, the onDragCancel(AjaxRequestTarget, int, int) event will be triggered. |
void |
onDragCancel(org.apache.wicket.ajax.AjaxRequestTarget target,
int top,
int left)
Triggered when the drag cancels
offsetTop and offsetLeft are available as RequestCycle parameters |
void |
onDragStart(org.apache.wicket.ajax.AjaxRequestTarget target,
int top,
int left)
Triggered when the drag starts
Note: offsetTop and offsetLeft are available as RequestCycle parameters |
void |
onDragStop(org.apache.wicket.ajax.AjaxRequestTarget target,
int top,
int left)
Triggered when the drag stops
offsetTop and offsetLeft are available as RequestCycle parameters |
boolean isCancelEventEnabled()
onDragCancel(AjaxRequestTarget, int, int) event will be triggered.void onDragStart(org.apache.wicket.ajax.AjaxRequestTarget target,
int top,
int left)
offsetTop and offsetLeft are available as RequestCycle parameterstarget - the AjaxRequestTargettop - the position's top valueleft - the position's left valuevoid onDragStop(org.apache.wicket.ajax.AjaxRequestTarget target,
int top,
int left)
RequestCycle parameterstarget - the AjaxRequestTargettop - the position's top valueleft - the position's left valuevoid onDragCancel(org.apache.wicket.ajax.AjaxRequestTarget target,
int top,
int left)
RequestCycle parameterstarget - the AjaxRequestTargettop - the position's top valueleft - the position's left valueisCancelEventEnabled()Copyright © 2021 7thWeb. All rights reserved.