public interface IDragInfoPolicy extends IPolicy
Modifier and Type | Method and Description |
---|---|
Object |
getDragInfo(TimelineObjectPath path,
IGanttChartModel model,
IDatelineModel<?> datelineModel,
Object dropNode,
ITimeSpan dropSpan)
Returns an object that can be used to show information during a drag
operation (e.g. time span over which the dragged timeline object hovers).
|
Object |
getDragInfo(TimelineObjectPath path,
IGanttChartModel model,
int rowHeight,
int y,
double capacityUsed)
Returns an object that can be used to show information while the user
interactively changes the capacity used value.
|
Object |
getDragInfo(TimelineObjectPath path,
IGanttChartModel model,
long timePoint,
double percentageComplete)
Returns an object that can be used to show information while the user
interactively changes the percentage complete value.
|
Object getDragInfo(TimelineObjectPath path, IGanttChartModel model, IDatelineModel<?> datelineModel, Object dropNode, ITimeSpan dropSpan)
path
- the path to the dragged timeline objectmodel
- the model to which the dragged timeline object belongsdatelineModel
- the model used by the datelinedropNode
- the tree node over which the dragged object hoversdropSpan
- the span over which the dragged object hoversObject getDragInfo(TimelineObjectPath path, IGanttChartModel model, long timePoint, double percentageComplete)
path
- the path to the dragged timeline objectmodel
- the model to which the dragged timeline object belongstimePoint
- the current (grid adjusted) time at the cursor locationpercentageComplete
- the percentage complete value of the activity objectObject getDragInfo(TimelineObjectPath path, IGanttChartModel model, int rowHeight, int y, double capacityUsed)
path
- the path to the dragged objectmodel
- the model to which the dragged timeline object belongsrowHeight
- the height of the row in which the drag operation takes placey
- the current y coordinate relative to the coordinate system of
the row (0 = bottom of row)capacityUsed
- the capacity used value of the capacity objectCopyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.