Package com.luciad.layers.grids
Class GridLayer
java.lang.Object
com.luciad.layers.Layer
com.luciad.layers.grids.GridLayer
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
LonLatGridLayer
,MgrsGridLayer
Common representation for grid layers that can be added to a map.
You need a concrete grid layer extension.
- Since:
- 2023.1
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Property name for theLayerEvent
that is fired as a result of changing the layer's labeled flag.Fields inherited from class com.luciad.layers.Layer
PropertyTitle, PropertyVisible
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
protected void
finalize()
boolean
Returns whether this layer displays labels.void
setLabeled
(boolean labeled) Sets whether this layer displays labels.Methods inherited from class com.luciad.layers.Layer
addObserver, getId, getTitle, isVisible, removeObserver, setTitle, setVisible
-
Field Details
-
PropertyLabeled
Property name for theLayerEvent
that is fired as a result of changing the layer's labeled flag.- See Also:
-
-
Constructor Details
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Overrides:
close
in classLayer
-
isLabeled
public boolean isLabeled()Returns whether this layer displays labels.- Returns:
- whether this layer displays labels.
-
setLabeled
public void setLabeled(boolean labeled) Sets whether this layer displays labels.- Parameters:
labeled
- true to enable labels.
-