Package com.vaadin.event.dd
Interface TargetDetails
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AbstractSelect.AbstractSelectTargetDetails
,CalendarTargetDetails
,DragAndDropWrapper.WrapperTargetDetails
,TargetDetailsImpl
,Tree.TreeTargetDetails
public interface TargetDetails extends Serializable
TargetDetails wraps drop target related information aboutDragAndDropEvent
.When a TargetDetails object is used in
DropHandler
it is often preferable to cast the TargetDetails to an implementation provided by DropTarget likeTree.TreeTargetDetails
. They often provide a better typed, drop target specific API.- Since:
- 6.3
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
getData(String key)
Gets target data associated with the given string keyDropTarget
getTarget()
-
-
-
Method Detail
-
getData
Object getData(String key)
Gets target data associated with the given string key- Parameters:
key
-- Returns:
- The data associated with the key
-
getTarget
DropTarget getTarget()
- Returns:
- the drop target on which the
DragAndDropEvent
happened.
-
-