public static class GraphicsBase.DragAndDropInfo extends Object
GraphicsBase.dragAndDropInfoProperty()
Constructor and Description |
---|
DragAndDropInfo(Row<?,?,?> row,
ActivityBounds activityBounds,
TimeInterval dropInterval,
DragEvent dragEvent,
Point2D offset) |
Modifier and Type | Method and Description |
---|---|
ActivityBounds |
getActivityBounds()
Returns the dragged / dropped activity (bounds).
|
DragEvent |
getDragEvent()
Returns the drag event that triggered the callback.
|
TimeInterval |
getDropInterval()
Returns the time interval where the drop would take place.
|
Point2D |
getOffset()
Returns the mouse offset relative to the upper left corner of the
activity.
|
Row<?,?,?> |
getRow()
The row where the drop might occur.
|
String |
toString() |
public DragAndDropInfo(Row<?,?,?> row, ActivityBounds activityBounds, TimeInterval dropInterval, DragEvent dragEvent, Point2D offset)
public Row<?,?,?> getRow()
public ActivityBounds getActivityBounds()
public DragEvent getDragEvent()
public TimeInterval getDropInterval()
public Point2D getOffset()
Copyright © 2014 Dirk Lemmermann Software & Consulting. All rights reserved.