|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDragInfoPolicy
A policy used by the drag layer to display information to the user about the current drag location (which is a possible drop candidate).
Method Summary | |
---|---|
java.lang.Object |
getDragInfo(java.lang.Object node,
java.lang.Object timelineObject,
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. |
java.lang.Object |
getDragInfo(java.lang.Object node,
java.lang.Object timelineObject,
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. |
java.lang.Object |
getDragInfo(java.lang.Object node,
java.lang.Object timelineObject,
IGanttChartModel model,
java.lang.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). |
Method Detail |
---|
java.lang.Object getDragInfo(java.lang.Object node, java.lang.Object timelineObject, IGanttChartModel model, java.lang.Object dropNode, ITimeSpan dropSpan)
node
- the tree node that owns the timeline objecttimelineObject
- the dragged objectmodel
- the model to which the dragged timeline object belongsdropNode
- the tree node over which the dragged object hoversdropSpan
- the span over which the dragged object hovers
java.lang.Object getDragInfo(java.lang.Object node, java.lang.Object timelineObject, IGanttChartModel model, long timePoint, double percentageComplete)
node
- the tree node that owns the timeline objecttimelineObject
- the dragged 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 object
java.lang.Object getDragInfo(java.lang.Object node, java.lang.Object timelineObject, IGanttChartModel model, int rowHeight, int y, double capacityUsed)
node
- the tree node that owns the timeline objecttimelineObject
- 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 object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |