Label Layer


The label layer's only purpose is to draw descriptions next to timeline objects. A description text will only show up if the label policy returns one for the timeline object, if the timeline object layer on which the timeline object is located has the description feature turned on, and if the Gantt chart has labels turned on.

Screenshot_1
Descriptions drawn to the right of activities

Example


DefaultTimelineObject tlo = new DefaultTimelineObject();
tlo.setLabel(LabelType.DESCRIPTION, "Steve Smith, Dirk Lemmermann")


Relevant API


ILabelPolicy
String ITimelineObject.getLabel(LabelType);
void DefaultTimelineObject.setLabel(LabelType, String);
boolean ILayer.isFeatureSupported(Feature);
void AbstractGanttChart.setLabelsVisible(boolean);