Interface IDroppableListener
-
- All Superinterfaces:
org.apache.wicket.util.io.IClusterable
,Serializable
- All Known Implementing Classes:
Droppable
,DroppableAdapter
public interface IDroppableListener extends org.apache.wicket.util.io.IClusterable
Event listener shared by theDroppable
widget and theDroppableBehavior
- Author:
- Sebastien Briquet - sebfz1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isExitEventEnabled()
Indicates whether the 'exit' (or 'out') event is enabled.
If true, theonExit(AjaxRequestTarget, Component)
event will be triggered.boolean
isOverEventEnabled()
Indicates whether the 'over' event is enabled.
If true, theonOver(AjaxRequestTarget, Component)
event will be triggered.void
onDrop(org.apache.wicket.ajax.AjaxRequestTarget target, org.apache.wicket.Component component)
Triggered when a component withDraggableBehavior
has been droppedvoid
onExit(org.apache.wicket.ajax.AjaxRequestTarget target, org.apache.wicket.Component component)
Triggered when a component withDraggableBehavior
exits the droppable areavoid
onOver(org.apache.wicket.ajax.AjaxRequestTarget target, org.apache.wicket.Component component)
Triggered when a component withDraggableBehavior
overs the droppable area
-
-
-
Method Detail
-
isOverEventEnabled
boolean isOverEventEnabled()
Indicates whether the 'over' event is enabled.
If true, theonOver(AjaxRequestTarget, Component)
event will be triggered.- Returns:
- false by default
-
isExitEventEnabled
boolean isExitEventEnabled()
Indicates whether the 'exit' (or 'out') event is enabled.
If true, theonExit(AjaxRequestTarget, Component)
event will be triggered.- Returns:
- false by default
-
onDrop
void onDrop(org.apache.wicket.ajax.AjaxRequestTarget target, org.apache.wicket.Component component)
Triggered when a component withDraggableBehavior
has been dropped- Parameters:
target
- theAjaxRequestTarget
component
- the component withDraggableBehavior
-
onOver
void onOver(org.apache.wicket.ajax.AjaxRequestTarget target, org.apache.wicket.Component component)
Triggered when a component withDraggableBehavior
overs the droppable area- Parameters:
target
- theAjaxRequestTarget
component
- the component withDraggableBehavior
- See Also:
isOverEventEnabled()
-
onExit
void onExit(org.apache.wicket.ajax.AjaxRequestTarget target, org.apache.wicket.Component component)
Triggered when a component withDraggableBehavior
exits the droppable area- Parameters:
target
- theAjaxRequestTarget
component
- the component withDraggableBehavior
- See Also:
isExitEventEnabled()
-
-