ebgeo.maprequest
Class Layer

java.lang.Object
  extended byebgeo.maprequest.Layer

public class Layer
extends Object

A class modelling a map layer. A layer is a selectable set of features. A map is drawn by superimposing all selected layers.


Constructor Summary
Layer(String name, String ID, boolean visible)
          Creates a new instance of Layer
 
Method Summary
 String getID()
          Get this layer's identifier.
 String getName()
          Get the name of this layer.
 boolean isVisible()
          Check if this layer is visible.
 void setVisible(boolean visible)
          Set if this layer should be visible or not.
 void setVisible(Boolean vis)
          Set if this layer should be visible or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Layer

public Layer(String name,
             String ID,
             boolean visible)
Creates a new instance of Layer

Method Detail

getName

public String getName()
Get the name of this layer. This is the layer's human readable name.


getID

public String getID()
Get this layer's identifier. This is the name that the map service uses to identify the layer.


isVisible

public boolean isVisible()
Check if this layer is visible.


setVisible

public void setVisible(boolean visible)
Set if this layer should be visible or not.


setVisible

public void setVisible(Boolean vis)
Set if this layer should be visible or not.