We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.ui.
Class DragAndDropWrapper.WrapperTargetDetails
java.lang.Object
com.vaadin.event.dd.TargetDetailsImpl
com.vaadin.ui.DragAndDropWrapper.WrapperTargetDetails
All Implemented Interfaces:
Enclosing class:
- extends TargetDetailsImpl
public class DragAndDropWrapper.WrapperTargetDetails
See Also:
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