public interface IDroppableListener
extends org.apache.wicket.util.io.IClusterable
Droppable widget and the DroppableBehavior| Modifier and Type | Method and Description |
|---|---|
boolean |
isDragEnterEventEnabled()
Indicates whether the 'enter' event is enabled.
If true, the onDragEnter(AjaxRequestTarget, Component) event will be triggered. |
boolean |
isDragLeaveEventEnabled()
Indicates whether the 'leave' event is enabled.
If true, the onDragLeave(AjaxRequestTarget, Component) event will be triggered. |
void |
onDragEnter(org.apache.wicket.ajax.AjaxRequestTarget target,
org.apache.wicket.Component component)
Triggered when a component with
DraggableBehavior enters the droppable area |
void |
onDragLeave(org.apache.wicket.ajax.AjaxRequestTarget target,
org.apache.wicket.Component component)
Triggered when a component with
DraggableBehavior leaves the droppable area |
void |
onDrop(org.apache.wicket.ajax.AjaxRequestTarget target,
org.apache.wicket.Component component)
Triggered when a component with
DraggableBehavior has been dropped |
boolean isDragEnterEventEnabled()
onDragEnter(AjaxRequestTarget, Component) event will be triggered.boolean isDragLeaveEventEnabled()
onDragLeave(AjaxRequestTarget, Component) event will be triggered.void onDragEnter(org.apache.wicket.ajax.AjaxRequestTarget target,
org.apache.wicket.Component component)
DraggableBehavior enters the droppable areatarget - the AjaxRequestTargetcomponent - the component with DraggableBehaviorisDragEnterEventEnabled()void onDragLeave(org.apache.wicket.ajax.AjaxRequestTarget target,
org.apache.wicket.Component component)
DraggableBehavior leaves the droppable areatarget - the AjaxRequestTargetcomponent - the component with DraggableBehaviorisDragLeaveEventEnabled()void onDrop(org.apache.wicket.ajax.AjaxRequestTarget target,
org.apache.wicket.Component component)
DraggableBehavior has been droppedtarget - the AjaxRequestTargetcomponent - the component with DraggableBehaviorCopyright © 2021 7thWeb. All rights reserved.