Class DroppableAdapter
java.lang.Object
com.googlecode.wicket.jquery.ui.interaction.droppable.DroppableAdapter
- All Implemented Interfaces:
IDroppableListener,Serializable,org.apache.wicket.util.io.IClusterable
Adapter class for
IDroppableListener- Author:
- Sebastien Briquet - sebfz1
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether the 'exit' (or 'out') event is enabled.
If true, theIDroppableListener.onExit(AjaxRequestTarget, Component)event will be triggered.booleanIndicates whether the 'over' event is enabled.
If true, theIDroppableListener.onOver(AjaxRequestTarget, Component)event will be triggered.voidonDrop(org.apache.wicket.ajax.AjaxRequestTarget target, org.apache.wicket.Component component) Triggered when a component withDraggableBehaviorhas been droppedvoidonExit(org.apache.wicket.ajax.AjaxRequestTarget target, org.apache.wicket.Component component) Triggered when a component withDraggableBehaviorexits the droppable areavoidonOver(org.apache.wicket.ajax.AjaxRequestTarget target, org.apache.wicket.Component component) Triggered when a component withDraggableBehaviorovers the droppable area
-
Constructor Details
-
DroppableAdapter
public DroppableAdapter()
-
-
Method Details
-
isOverEventEnabled
public boolean isOverEventEnabled()Description copied from interface:IDroppableListenerIndicates whether the 'over' event is enabled.
If true, theIDroppableListener.onOver(AjaxRequestTarget, Component)event will be triggered.- Specified by:
isOverEventEnabledin interfaceIDroppableListener- Returns:
- false by default
-
isExitEventEnabled
public boolean isExitEventEnabled()Description copied from interface:IDroppableListenerIndicates whether the 'exit' (or 'out') event is enabled.
If true, theIDroppableListener.onExit(AjaxRequestTarget, Component)event will be triggered.- Specified by:
isExitEventEnabledin interfaceIDroppableListener- Returns:
- false by default
-
onDrop
public void onDrop(org.apache.wicket.ajax.AjaxRequestTarget target, org.apache.wicket.Component component) Description copied from interface:IDroppableListenerTriggered when a component withDraggableBehaviorhas been dropped- Specified by:
onDropin interfaceIDroppableListener- Parameters:
target- theAjaxRequestTargetcomponent- the component withDraggableBehavior
-
onOver
public void onOver(org.apache.wicket.ajax.AjaxRequestTarget target, org.apache.wicket.Component component) Description copied from interface:IDroppableListenerTriggered when a component withDraggableBehaviorovers the droppable area- Specified by:
onOverin interfaceIDroppableListener- Parameters:
target- theAjaxRequestTargetcomponent- the component withDraggableBehavior- See Also:
-
onExit
public void onExit(org.apache.wicket.ajax.AjaxRequestTarget target, org.apache.wicket.Component component) Description copied from interface:IDroppableListenerTriggered when a component withDraggableBehaviorexits the droppable area- Specified by:
onExitin interfaceIDroppableListener- Parameters:
target- theAjaxRequestTargetcomponent- the component withDraggableBehavior- See Also:
-