Package com.luciad.view
Class TLcdLabelLocationEvent.LabelFunction
java.lang.Object
com.luciad.view.TLcdLabelLocationEvent.LabelFunction
- Enclosing class:
TLcdLabelLocationEvent
Function to apply over label locations. This function contains the logic of what to do with
each label.
- Since:
- 7.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
applyOnLabel
(Object aObject, int aLabelIndex, int aSubLabelIndex, ILcdView aView) Processes the specified label.
-
Constructor Details
-
LabelFunction
public LabelFunction()
-
-
Method Details
-
applyOnLabel
public abstract boolean applyOnLabel(Object aObject, int aLabelIndex, int aSubLabelIndex, ILcdView aView) Processes the specified label.- Parameters:
aObject
- The domain object for which the label has changed.aLabelIndex
- The label index of the label that changed (for multiple labels per object).aSubLabelIndex
- The sub label index of the label that changed(for multiple labels per object).aView
- The view on which the changed label is painted.- Returns:
true
to continue iterating,false
to abort iterating.
-