com.vaadin.event.dd
Class TargetDetailsImpl
java.lang.Object
com.vaadin.event.dd.TargetDetailsImpl
- All Implemented Interfaces:
- TargetDetails, java.io.Serializable
- Direct Known Subclasses:
- AbstractSelect.AbstractSelectTargetDetails, CalendarTargetDetails, DragAndDropWrapper.WrapperTargetDetails
public class TargetDetailsImpl
- extends java.lang.Object
- implements TargetDetails
A HashMap backed implementation of TargetDetails for terminal
implementation and for extension.
- Since:
- 6.3
- See Also:
- Serialized Form
|
Method Summary |
java.lang.Object |
getData(java.lang.String key)
Gets target data associated with the given string key |
DropTarget |
getTarget()
|
java.lang.Object |
setData(java.lang.String key,
java.lang.Object value)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TargetDetailsImpl
protected TargetDetailsImpl(java.util.Map<java.lang.String,java.lang.Object> rawDropData)
TargetDetailsImpl
public TargetDetailsImpl(java.util.Map<java.lang.String,java.lang.Object> rawDropData,
DropTarget dropTarget)
getData
public java.lang.Object getData(java.lang.String key)
- Description copied from interface:
TargetDetails
- Gets target data associated with the given string key
- Specified by:
getData in interface TargetDetails
- Returns:
- The data associated with the key
setData
public java.lang.Object setData(java.lang.String key,
java.lang.Object value)
getTarget
public DropTarget getTarget()
- Specified by:
getTarget in interface TargetDetails
- Returns:
- the drop target on which the
DragAndDropEvent happened.
Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.