public class GridLayer extends Layer implements AutoCloseable
You need a concrete grid layer extension.
Modifier and Type | Field and Description |
---|---|
static String |
PropertyLabeled
Property name for the
LayerEvent that is fired as a result of changing the layer's labeled flag. |
PropertyTitle, PropertyVisible
Modifier | Constructor and Description |
---|---|
protected |
GridLayer()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected void |
finalize() |
boolean |
isLabeled()
Returns whether this layer displays labels.
|
void |
setLabeled(boolean labeled)
Sets whether this layer displays labels.
|
addObserver, getId, getTitle, isVisible, removeObserver, setTitle, setVisible
public static final String PropertyLabeled
LayerEvent
that is fired as a result of changing the layer's labeled flag.setLabeled
protected GridLayer()
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.
public void close()
close
in interface AutoCloseable
close
in class Layer
public boolean isLabeled()
public void setLabeled(boolean labeled)
labeled
- true to enable labels.