nl.javel.gisbeans.map
Interface LayerInterface

All Superinterfaces:
Serializable
All Known Implementing Classes:
Layer

public interface LayerInterface
extends Serializable

This interface defines the layer of the map

Since:
JDK 1.0
Version:
1.0
Author:
Paul Jacobs

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 for this layer
 void setTransform(boolean transform)
          Setter for property transform.
 

Method Detail

setSymbols

void setSymbols(List symbols)
sets the symbols for this layer

Parameters:
symbols - the symbols

getSymbols

List getSymbols()
returns the symbols used in this layer

Returns:
List the symbol list

getAttributes

List getAttributes()
Getter for property attributes

Returns:
List the value of property attributes.

getAttribute

AttributeInterface getAttribute(int index)
Getter for property attribute

Parameters:
index -
Returns:
AttributeInterface.

getColor

Color getColor()
Returns the color of the layer.

Returns:
Color.

setColor

void setColor(Color color)
sets the color of the layer

Parameters:
color - the rgb-color

getOutlineColor

Color getOutlineColor()
gets the outline color

Returns:
Color the rgb-color

setOutlineColor

void setOutlineColor(Color outlineColor)
sets the outlineColor of the layer

Parameters:
outlineColor - the rgb-color

getName

String getName()
Getter for property name.

Returns:
String of property name.

setName

void setName(String name)
Setter for property name.

Parameters:
name - New value of property name.

getDataSource

DataSourceInterface getDataSource()
Getter for property dataSource.

Returns:
DataSourceInterface the value of property dataSource.

setAttributes

void setAttributes(List attributes)
Setter for property attributes

Parameters:
attributes -

setDataSource

void setDataSource(DataSourceInterface dataSource)
Setter for property dataSource.

Parameters:
dataSource - New value of property dataSource.

getMinScale

int getMinScale()
Getter for property minscale.

Returns:
int the value of property minscale.

setMinScale

void setMinScale(int minscale)
Setter for property minscale.

Parameters:
minscale - New value of property minscale.

getMaxScale

int getMaxScale()
Getter for property maxScale.

Returns:
int the value of property maxScale.

setMaxScale

void setMaxScale(int maxScale)
Setter for property maxScale.

Parameters:
maxScale - New value of property maxScale.

isStatus

boolean isStatus()
Getter for property status

Returns:
bollean the value of property status

setStatus

void setStatus(boolean status)
Setter for property status.

Parameters:
status - New value of property status.

isTransform

boolean isTransform()
Getter for property transform.

Returns:
boolean the value of property transform.

setTransform

void setTransform(boolean transform)
Setter for property transform.

Parameters:
transform - New value of property transform.