Package com.luciad.view
Class ALcdLabelLocations.LabelLocationFunction
java.lang.Object
com.luciad.view.ALcdLabelLocations.LabelLocationFunction
- Enclosing class:
ALcdLabelLocations
Iterator to iterate over label locations. This iterator contains the logic of what to do with
each label.
- Since:
- 7.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
applyOnLabelLocation
(Object aObject, int aLabelIndex, int aSubLabelIndex, ILcdView aView, TLcdLabelLocation aLocation)
-
Constructor Details
-
LabelLocationFunction
public LabelLocationFunction()
-
-
Method Details
-
applyOnLabelLocation
public abstract boolean applyOnLabelLocation(Object aObject, int aLabelIndex, int aSubLabelIndex, ILcdView aView, TLcdLabelLocation aLocation) - Parameters:
aObject
- The domain object this label location is for.aLabelIndex
- The label index (for multiple labels per object).aSubLabelIndex
- The sub label index (for multiple labels per object).aView
- The view on which the label is painted.aLocation
- The label location for the given parameters. Note that this instance could be reused for every iteration, so don't keep references to it after returning from the method.- Returns:
- True to continue iterating, false to abort iterating.
-