|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILabelPolicy
A policy for looking up labels used in various places.
Method Summary | |
---|---|
java.lang.String |
getLabel(IRelationship relationship,
IGanttChartModel model)
Returns a label for the given relationship object (usually a summary of the relationship meaning). |
java.lang.String |
getLabel(java.lang.Object node,
java.lang.Object timelineObject,
IGanttChartModel model,
LabelType type)
Returns various types of labels for a given timeline object. |
boolean |
isLabelTypeVisible(java.lang.Object node,
java.lang.Object timelineObject,
IGanttChartModel model,
LabelType type)
Determines whether or not a certain type of label will be shown for the given timeline object or not. |
Method Detail |
---|
boolean isLabelTypeVisible(java.lang.Object node, java.lang.Object timelineObject, IGanttChartModel model, LabelType type)
node
- the tree node that owns the timeline objecttimelineObject
- the timeline object for which the check gets performedmodel
- the data source that returned the node and timeline objecttype
- the type of the label (name, tooltip, description, etc...)
getLabel(Object, Object, IGanttChartModel, LabelType)
java.lang.String getLabel(java.lang.Object node, java.lang.Object timelineObject, IGanttChartModel model, LabelType type)
node
- the tree node that owns the timeline objecttimelineObject
- the timeline object for which a label gets requestedmodel
- the data source that returned the node and timeline objecttype
- the type of the label (name, tooltip, description, etc...)
isLabelTypeVisible(Object, Object, IGanttChartModel, LabelType)
java.lang.String getLabel(IRelationship relationship, IGanttChartModel model)
relationship
- the relationship for which a label gets requestedmodel
- the data source that returned the relationship object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |