com.vaadin.event.dd.
Class TargetDetailsImpl
- java.lang.Object
-
- com.vaadin.event.dd.TargetDetailsImpl
-
All Implemented Interfaces:
Direct Known Subclasses:
AbstractSelect.AbstractSelectTargetDetails, CalendarTargetDetails, DragAndDropWrapper.WrapperTargetDetails
public class TargetDetailsImpl extends Object implements TargetDetails
A HashMap backed implementation of
TargetDetails
for terminal implementation and for extension.Since:
6.3
See Also:
-
-
Constructor Summary
Constructors Modifier Constructor and Description protected
TargetDetailsImpl(Map<String,Object> rawDropData)
TargetDetailsImpl(Map<String,Object> rawDropData, DropTarget dropTarget)
-
Method Summary
All Methods Modifier and Type Method and Description Object
getData(String key)
Gets target data associated with the given string key
MouseEventDetails
getMouseEvent()
DropTarget
getTarget()
Object
setData(String key, Object value)
-
-
-
Constructor Detail
-
TargetDetailsImpl
public TargetDetailsImpl(Map<String,Object> rawDropData, DropTarget dropTarget)
-
-
Method Detail
-
getMouseEvent
public MouseEventDetails getMouseEvent()
Returns:
details about the actual event that caused the event details. Practically mouse move or mouse up.
-
getData
public Object getData(String key)
Description copied from interface:
TargetDetails
Gets target data associated with the given string key
Specified by:
getData
in interfaceTargetDetails
Returns:
The data associated with the key
-
getTarget
public DropTarget getTarget()
Specified by:
getTarget
in interfaceTargetDetails
Returns:
the drop target on which the
DragAndDropEvent
happened.
-
-