Package com.vaadin.event.dd
Class TargetDetailsImpl
- java.lang.Object
-
- com.vaadin.event.dd.TargetDetailsImpl
-
- All Implemented Interfaces:
TargetDetails,java.io.Serializable
- Direct Known Subclasses:
DragAndDropWrapper.WrapperTargetDetails
@Deprecated public class TargetDetailsImpl extends java.lang.Object implements TargetDetails
Deprecated.Replaced in 8.1 byDropEvent.getDataTransferData(String)A HashMap backed implementation ofTargetDetailsfor terminal implementation and for extension.- Since:
- 6.3
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTargetDetailsImpl(java.util.Map<java.lang.String,java.lang.Object> rawDropData)Deprecated.TargetDetailsImpl(java.util.Map<java.lang.String,java.lang.Object> rawDropData, DropTarget dropTarget)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.ObjectgetData(java.lang.String key)Deprecated.Gets target data associated with the given string key.com.vaadin.shared.MouseEventDetailsgetMouseEvent()Deprecated.DropTargetgetTarget()Deprecated.java.lang.ObjectsetData(java.lang.String key, java.lang.Object value)Deprecated.
-
-
-
Constructor Detail
-
TargetDetailsImpl
protected TargetDetailsImpl(java.util.Map<java.lang.String,java.lang.Object> rawDropData)
Deprecated.
-
TargetDetailsImpl
public TargetDetailsImpl(java.util.Map<java.lang.String,java.lang.Object> rawDropData, DropTarget dropTarget)Deprecated.
-
-
Method Detail
-
getMouseEvent
public com.vaadin.shared.MouseEventDetails getMouseEvent()
Deprecated.- Returns:
- details about the actual event that caused the event details. Practically mouse move or mouse up.
-
getData
public java.lang.Object getData(java.lang.String key)
Deprecated.Description copied from interface:TargetDetailsGets target data associated with the given string key.- Specified by:
getDatain interfaceTargetDetails- Returns:
- The data associated with the key
-
setData
public java.lang.Object setData(java.lang.String key, java.lang.Object value)Deprecated.
-
getTarget
public DropTarget getTarget()
Deprecated.- Specified by:
getTargetin interfaceTargetDetails- Returns:
- the drop target on which the
DragAndDropEventhappened.
-
-