public interface ICrosshairPolicy extends IPolicy
Modifier and Type | Interface and Description |
---|---|
static class |
ICrosshairPolicy.LabelPosition |
Modifier and Type | Method and Description |
---|---|
String |
getLabel(Object node,
TimelineObjectPath 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.
|
boolean isLabelVisible(ICrosshairPolicy.LabelPosition position)
position
- the positon to check for visibilityString getLabel(Object node, TimelineObjectPath 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 placedCopyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.