Class ALspLabelEditFilter

java.lang.Object
com.luciad.view.lightspeed.editor.label.ALspLabelEditFilter

public abstract class ALspLabelEditFilter extends Object
Class that can be used to filter labels from being edited. The canEditLabel method can be used to specify which labels are editable and which are not. This class can be used in combination with TLspLabelEditor.
Since:
2012.1.20
  • Constructor Details

    • ALspLabelEditFilter

      protected ALspLabelEditFilter()
  • Method Details

    • canEditLabel

      public boolean canEditLabel(TLspLabelID aLabel, TLspEditContext aContext)

      Determines whether or not label can be edited by an editor. Override this method to provide a custom implementation.

      The default implementation checks if the paint representation state of the layer is visible.

      Parameters:
      aLabel - the labels to be edited
      aContext - the edit context
      Returns:
      true if the editor knows how to modify the object.