com.dlsc.flexgantt.policy.gantt
Interface IOverviewPolicy
- All Superinterfaces:
- IPolicy
- All Known Implementing Classes:
- DefaultOverviewPolicy
public interface IOverviewPolicy
- extends IPolicy
A policy that is used by the OverviewPalette
to color timeline objects
based on their status or to mark timeline objects that require special
attention.
- Since:
- 1.0
- Author:
- Dirk Lemmermann
- See Also:
OverviewPalette
,
OverviewSelector
,
LayerContainer.setTimelineObjectStatusColor(Object, java.awt.Color)
,
LayerContainer.setTimelineObjectStatusIcon(Object, javax.swing.Icon)
Method Summary |
java.lang.Object |
getOverviewStatus(java.lang.Object node,
java.lang.Object timelineObject,
IGanttChartModel model)
Returns a status object that can be used by the OverviewPalette to
determine which color to use when drawing the timeline object. |
getOverviewStatus
java.lang.Object getOverviewStatus(java.lang.Object node,
java.lang.Object timelineObject,
IGanttChartModel model)
- Returns a status object that can be used by the
OverviewPalette
to
determine which color to use when drawing the timeline object.
- Parameters:
node
- the parent hierarchy node of the timeline objecttimelineObject
- the timeline objectmodel
- the model to which the node and the timeline object belong
- Returns:
- an arbitrary status object (often simply a
String
) - Since:
- 1.0