Package com.vaadin.event.dd
Class TargetDetailsImpl
- java.lang.Object
-
- com.vaadin.event.dd.TargetDetailsImpl
-
- All Implemented Interfaces:
TargetDetails,Serializable
- Direct Known Subclasses:
AbstractSelect.AbstractSelectTargetDetails,CalendarTargetDetails,DragAndDropWrapper.WrapperTargetDetails
public class TargetDetailsImpl extends Object implements TargetDetails
A HashMap backed implementation ofTargetDetailsfor terminal implementation and for extension.- Since:
- 6.3
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTargetDetailsImpl(Map<String,Object> rawDropData)TargetDetailsImpl(Map<String,Object> rawDropData, DropTarget dropTarget)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetData(String key)Gets target data associated with the given string keyMouseEventDetailsgetMouseEvent()DropTargetgetTarget()ObjectsetData(String key, Object value)
-
-
-
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:TargetDetailsGets target data associated with the given string key- Specified by:
getDatain interfaceTargetDetails- Returns:
- The data associated with the key
-
getTarget
public DropTarget getTarget()
- Specified by:
getTargetin interfaceTargetDetails- Returns:
- the drop target on which the
DragAndDropEventhappened.
-
-