Class GridLayer

java.lang.Object
com.luciad.layers.Layer
com.luciad.layers.grids.GridLayer
All Implemented Interfaces:
AutoCloseable
Direct Known Subclasses:
LonLatGridLayer, MgrsGridLayer

public class GridLayer extends Layer implements AutoCloseable
Common representation for grid layers that can be added to a map.

You need a concrete grid layer extension.

Since:
2023.1
  • Field Details Link icon

    • PropertyLabeled Link icon

      public static final String PropertyLabeled
      Property name for the LayerEvent that is fired as a result of changing the layer's labeled flag.
      See Also:
  • Constructor Details Link icon

    • GridLayer Link icon

      protected GridLayer()
      Default constructor.

      It's not the intent to extend from this class, nor is it the intent to directly instantiate this class, so this constructor must not be used.

  • Method Details Link icon

    • finalize Link icon

      protected void finalize()
      Overrides:
      finalize in class Layer
    • close Link icon

      public void close()
      Specified by:
      close in interface AutoCloseable
      Overrides:
      close in class Layer
    • isLabeled Link icon

      public boolean isLabeled()
      Returns whether this layer displays labels.
      Returns:
      whether this layer displays labels.
    • setLabeled Link icon

      public void setLabeled(boolean labeled)
      Sets whether this layer displays labels.
      Parameters:
      labeled - true to enable labels.