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