|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.dlsc.flexgantt.policy.AbstractPolicy com.dlsc.flexgantt.policy.eventline.DefaultEventlineLabelPolicy
public class DefaultEventlineLabelPolicy
The default implementation of IEventlineLabelPolicy
works in
combination with eventline objects that implement the
IEventlineObject
interface.
Constructor Summary | |
---|---|
DefaultEventlineLabelPolicy()
|
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. |
Methods inherited from class com.dlsc.flexgantt.policy.AbstractPolicy |
---|
assertClass |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultEventlineLabelPolicy()
Method Detail |
---|
public java.lang.String getLabel(java.lang.Object eventlineObject, IEventlineModel model, LabelType type)
IEventlineLabelPolicy
getLabel
in interface IEventlineLabelPolicy
eventlineObject
- the eventline object for which a label is neededmodel
- the data source that returned the eventline objecttype
- the type of label required
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |