mascoptLib.gui.views
Class LayerInfo

java.lang.Object
  extended bymascoptLib.gui.views.LayerInfo

public class LayerInfo
extends Object

Some informations on a layer.


Constructor Summary
LayerInfo(Layer layer, boolean visible)
          Constructor
 
Method Summary
 Layer getLayer()
          Return the layer for this layer info.
 boolean isVisible()
          Say if it is visible.
 void setVisible(boolean v)
          Change the visible flag.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayerInfo

public LayerInfo(Layer layer,
                 boolean visible)
Constructor

Parameters:
layer - the layer
visible - say if it is visible.
Method Detail

getLayer

public Layer getLayer()
Return the layer for this layer info.

Returns:
the layer

isVisible

public boolean isVisible()
Say if it is visible.

Returns:
a boolean.

setVisible

public void setVisible(boolean v)
Change the visible flag.

Parameters:
v - a boolean.