|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICrosshairPolicy
A policy used for the crosshair feature. The policy provides labels for the four corners around the crosshair circle.
Nested Class Summary | |
---|---|
static class |
ICrosshairPolicy.LabelPosition
|
Method Summary | |
---|---|
java.lang.String |
getLabel(java.lang.Object node,
java.lang.Object timelineObject,
IGanttChartModel model,
long time,
ICrosshairPolicy.LabelPosition position)
Returns a label that will be shown to the left/right and top/bottom of the crosshair location. |
boolean |
isLabelVisible(ICrosshairPolicy.LabelPosition position)
Determines whether a label is visible at all. |
Method Detail |
---|
boolean isLabelVisible(ICrosshairPolicy.LabelPosition position)
position
- the positon to check for visibility
java.lang.String getLabel(java.lang.Object node, java.lang.Object timelineObject, IGanttChartModel model, long time, ICrosshairPolicy.LabelPosition position)
node
- the tree node to the left of the crosshair cursor (might be
NULL if the crosshair is below the last row)timelineObject
- the timeline object over which the crosshair is currently
hovering (might be NULL if the crosshair is not on top of an
object)model
- the data source of the tree node and timeline objecttime
- the time at the current location of the crosshairposition
- the position where the label will be placed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |