public class DefaultEventlineLabelPolicy extends AbstractPolicy implements IEventlineLabelPolicy
IEventlineLabelPolicy
works in
combination with eventline objects that implement the
IEventlineObject
interface.Constructor and Description |
---|
DefaultEventlineLabelPolicy() |
Modifier and Type | Method and Description |
---|---|
String |
getLabel(Object eventlineObject,
IEventlineModel model,
LabelType type)
Returns labels for various purposes based on the given label type ID.
|
assertClass
public String getLabel(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 requiredCopyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.