com.vaadin.event.dd.
Interface TargetDetails
-
All Superinterfaces:
All Known Implementing Classes:
AbstractSelect.AbstractSelectTargetDetails, CalendarTargetDetails, DragAndDropWrapper.WrapperTargetDetails, TargetDetailsImpl, Tree.TreeTargetDetails
public interface TargetDetails extends Serializable
TargetDetails wraps drop target related information about
DragAndDropEvent
.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 Modifier and Type Method and Description Object
getData(String key)
Gets target data associated with the given string key
DropTarget
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.
-
-