We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.event.dd.
Interface TargetDetails
All Superinterfaces:
All Known Implementing Classes:
AbstractSelect.AbstractSelectTargetDetails, DragAndDropWrapper.WrapperTargetDetails, TargetDetailsImpl, Tree.TreeTargetDetails
- extends Serializable
public interface TargetDetails
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 like Tree.TreeTargetDetails
. They often provide a better typed,
drop target specific API.
Since:
6.3
Method Summary | |
---|---|
Object |
getData(String key)
Gets target data associated with the given string key |
DropTarget |
getTarget()
|
Method Detail |
---|
getData
Object getData(String key)
- Parameters:
key
-- Returns:
- The data associated with the key
Gets target data associated with the given string key
getTarget
DropTarget getTarget()
- Returns:
- the drop target on which the
DragAndDropEvent
happened.