com.vaadin.ui.


Class DragAndDropWrapper.WrapperTargetDetails

java.lang.Object
  com.vaadin.event.dd.TargetDetailsImpl
      com.vaadin.ui.DragAndDropWrapper.WrapperTargetDetails

All Implemented Interfaces:

TargetDetails, Serializable

Enclosing class:

DragAndDropWrapper

public class DragAndDropWrapper.WrapperTargetDetails
extends TargetDetailsImpl

See Also:

Serialized Form

Constructor Summary
DragAndDropWrapper.WrapperTargetDetails(Map<String,Object> rawDropData)
           
 
Method Summary
 Integer getAbsoluteLeft()
           
 Integer getAbsoluteTop()
           
 HorizontalDropLocation getHorizontalDropLocation()
           
 MouseEventDetails getMouseEvent()
           
 VerticalDropLocation getVerticalDropLocation()
           
 HorizontalDropLocation horizontalDropLocation()
          Deprecated. use getHorizontalDropLocation() instead
 VerticalDropLocation verticalDropLocation()
          Deprecated. use getVerticalDropLocation() instead
 
Methods inherited from class com.vaadin.event.dd.TargetDetailsImpl
getData, getTarget, setData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DragAndDropWrapper.WrapperTargetDetails

public DragAndDropWrapper.WrapperTargetDetails(Map<String,Object> rawDropData)
Method Detail

getAbsoluteLeft

public Integer getAbsoluteLeft()

Returns:
the absolute position of wrapper on the page

getAbsoluteTop

public Integer getAbsoluteTop()

Returns:
the absolute position of wrapper on the page

getMouseEvent

public MouseEventDetails getMouseEvent()

Returns:
details about the actual event that caused the event details. Practically mouse move or mouse up.

getVerticalDropLocation

public VerticalDropLocation getVerticalDropLocation()

Returns:
a detail about the drags vertical position over the wrapper.

getHorizontalDropLocation

public HorizontalDropLocation getHorizontalDropLocation()

Returns:
a detail about the drags horizontal position over the wrapper.

verticalDropLocation

@Deprecated
public VerticalDropLocation verticalDropLocation()

Deprecated. use getVerticalDropLocation() instead

horizontalDropLocation

@Deprecated
public HorizontalDropLocation horizontalDropLocation()

Deprecated. use getHorizontalDropLocation() instead