Class ALspLabelEditFilter
java.lang.Object
com.luciad.view.lightspeed.editor.label.ALspLabelEditFilter
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canEditLabel
(TLspLabelID aLabel, TLspEditContext aContext) Determines whether or not label can be edited by an editor.
-
Constructor Details
-
ALspLabelEditFilter
protected ALspLabelEditFilter()
-
-
Method Details
-
canEditLabel
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 editedaContext
- the edit context- Returns:
- true if the editor knows how to modify the object.
-