Class TLcdLabelPaintedEvent.LabelPaintedFunction

java.lang.Object
com.luciad.view.TLcdLabelPaintedEvent.LabelPaintedFunction
Enclosing class:
TLcdLabelPaintedEvent

public abstract static class TLcdLabelPaintedEvent.LabelPaintedFunction extends Object
Function to apply over label locations. This function contains the logic of what to do with each label.
Since:
10.1
See Also:
  • Constructor Details

    • LabelPaintedFunction

      public LabelPaintedFunction()
  • Method Details

    • applyOnLabel

      public abstract boolean applyOnLabel(Object aObject, int aLabelIndex, int aSubLabelIndex, ILcdView aView, boolean aPainted)
      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.
      aPainted - True to check if the label was painted, and false if it was removed from the painted labels.
      Returns:
      true to continue iterating, false to abort iterating.