nl.javel.gisbeans.map
Class Layer

java.lang.Object
  extended by nl.javel.gisbeans.map.Layer
All Implemented Interfaces:
Serializable, LayerInterface

public class Layer
extends Object
implements LayerInterface

This interface defines the image as defined in the mapInterface

Since:
JDK 1.0
Version:
1.0
Author:
Paul Jacobs
See Also:
Serialized Form

Constructor Summary
Layer()
          constructs a new layer
 
Method Summary
 AttributeInterface getAttribute(int index)
          Getter for property attribute
 List getAttributes()
          Getter for property attributes
 Color getColor()
          Returns the color of the layer.
 DataSourceInterface getDataSource()
          Getter for property dataSource.
 int getMaxScale()
          Getter for property maxScale.
 int getMinScale()
          Getter for property minscale.
 String getName()
          Getter for property name.
 Color getOutlineColor()
          gets the outline color
 List getSymbols()
          returns the symbols used in this layer
 boolean isStatus()
          Getter for property status
 boolean isTransform()
          Getter for property transform.
 void setAttributes(List attributes)
          Setter for property attributes
 void setColor(Color color)
          sets the color of the layer
 void setDataSource(DataSourceInterface dataSource)
          Setter for property dataSource.
 void setMaxScale(int maxScale)
          Setter for property maxScale.
 void setMinScale(int minScale)
          Setter for property minscale.
 void setName(String name)
          Setter for property name.
 void setOutlineColor(Color outlineColor)
          sets the outlineColor of the layer
 void setStatus(boolean status)
          Setter for property status.
 void setSymbols(List symbols)
          Sets the symbols.
 void setTransform(boolean transform)
          Setter for property transform.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Layer

public Layer()
constructs a new layer

Method Detail

getSymbols

public List getSymbols()
Description copied from interface: LayerInterface
returns the symbols used in this layer

Specified by:
getSymbols in interface LayerInterface
Returns:
List the symbol list
See Also:
LayerInterface.getSymbols()

getAttributes

public List getAttributes()
Description copied from interface: LayerInterface
Getter for property attributes

Specified by:
getAttributes in interface LayerInterface
Returns:
List the value of property attributes.
See Also:
LayerInterface.getAttributes()

getAttribute

public AttributeInterface getAttribute(int index)
Description copied from interface: LayerInterface
Getter for property attribute

Specified by:
getAttribute in interface LayerInterface
Returns:
AttributeInterface.
See Also:
LayerInterface.getAttribute(int)

getColor

public Color getColor()
Description copied from interface: LayerInterface
Returns the color of the layer.

Specified by:
getColor in interface LayerInterface
Returns:
Color.
See Also:
LayerInterface.getColor()

setColor

public void setColor(Color color)
Description copied from interface: LayerInterface
sets the color of the layer

Specified by:
setColor in interface LayerInterface
Parameters:
color - the rgb-color
See Also:
LayerInterface.setColor(Color)

getDataSource

public DataSourceInterface getDataSource()
Description copied from interface: LayerInterface
Getter for property dataSource.

Specified by:
getDataSource in interface LayerInterface
Returns:
DataSourceInterface the value of property dataSource.
See Also:
LayerInterface.getDataSource()

setAttributes

public void setAttributes(List attributes)
Description copied from interface: LayerInterface
Setter for property attributes

Specified by:
setAttributes in interface LayerInterface
See Also:
LayerInterface.setAttributes(List attributes)

setDataSource

public void setDataSource(DataSourceInterface dataSource)
Description copied from interface: LayerInterface
Setter for property dataSource.

Specified by:
setDataSource in interface LayerInterface
Parameters:
dataSource - New value of property dataSource.
See Also:
LayerInterface.setDataSource(nl.javel.gisbeans.io.DataSourceInterface)

getMaxScale

public int getMaxScale()
Description copied from interface: LayerInterface
Getter for property maxScale.

Specified by:
getMaxScale in interface LayerInterface
Returns:
int the value of property maxScale.
See Also:
LayerInterface.getMaxScale()

setMaxScale

public void setMaxScale(int maxScale)
Description copied from interface: LayerInterface
Setter for property maxScale.

Specified by:
setMaxScale in interface LayerInterface
Parameters:
maxScale - New value of property maxScale.
See Also:
LayerInterface.setMaxScale(int)

getMinScale

public int getMinScale()
Description copied from interface: LayerInterface
Getter for property minscale.

Specified by:
getMinScale in interface LayerInterface
Returns:
int the value of property minscale.
See Also:
LayerInterface.getMinScale()

setMinScale

public void setMinScale(int minScale)
Description copied from interface: LayerInterface
Setter for property minscale.

Specified by:
setMinScale in interface LayerInterface
Parameters:
minScale - New value of property minscale.
See Also:
LayerInterface.setMinScale(int)

getName

public String getName()
Description copied from interface: LayerInterface
Getter for property name.

Specified by:
getName in interface LayerInterface
Returns:
String of property name.
See Also:
LayerInterface.getName()

setName

public void setName(String name)
Description copied from interface: LayerInterface
Setter for property name.

Specified by:
setName in interface LayerInterface
Parameters:
name - New value of property name.
See Also:
LayerInterface.setName(String)

getOutlineColor

public Color getOutlineColor()
Description copied from interface: LayerInterface
gets the outline color

Specified by:
getOutlineColor in interface LayerInterface
Returns:
Color the rgb-color
See Also:
LayerInterface.getOutlineColor()

setOutlineColor

public void setOutlineColor(Color outlineColor)
Description copied from interface: LayerInterface
sets the outlineColor of the layer

Specified by:
setOutlineColor in interface LayerInterface
Parameters:
outlineColor - the rgb-color
See Also:
LayerInterface.setOutlineColor(Color)

isStatus

public boolean isStatus()
Description copied from interface: LayerInterface
Getter for property status

Specified by:
isStatus in interface LayerInterface
Returns:
bollean the value of property status
See Also:
LayerInterface.isStatus()

setStatus

public void setStatus(boolean status)
Description copied from interface: LayerInterface
Setter for property status.

Specified by:
setStatus in interface LayerInterface
Parameters:
status - New value of property status.
See Also:
LayerInterface.setStatus(boolean)

isTransform

public boolean isTransform()
Description copied from interface: LayerInterface
Getter for property transform.

Specified by:
isTransform in interface LayerInterface
Returns:
boolean the value of property transform.
See Also:
LayerInterface.isTransform()

setTransform

public void setTransform(boolean transform)
Description copied from interface: LayerInterface
Setter for property transform.

Specified by:
setTransform in interface LayerInterface
Parameters:
transform - New value of property transform.
See Also:
LayerInterface.setTransform(boolean)

setSymbols

public void setSymbols(List symbols)
Sets the symbols.

Specified by:
setSymbols in interface LayerInterface
Parameters:
symbols - The symbols to set