com.dlsc.flexgantt.policy.eventline
Interface IEventlineLabelPolicy
- All Superinterfaces:
- IPolicy
- All Known Implementing Classes:
- DefaultEventlineLabelPolicy
public interface IEventlineLabelPolicy
- extends IPolicy
A policy for looking up different types of labels for the Eventline
and the eventline objects inside of it.
- Since:
- 1.0
- Author:
- Dirk Lemmermann
Method Summary |
java.lang.String |
getLabel(java.lang.Object eventlineObject,
IEventlineModel model,
LabelType type)
Returns labels for various purposes based on the given label type ID. |
getLabel
java.lang.String getLabel(java.lang.Object eventlineObject,
IEventlineModel model,
LabelType type)
- Returns labels for various purposes based on the given label type ID.
- Parameters:
eventlineObject
- the eventline object for which a label is neededmodel
- the data source that returned the eventline objecttype
- the type of label required
- Returns:
- a label for the given eventline object and type
- Since:
- 1.0