skrueger.geotools
Class StyledLayerStyle<E>

java.lang.Object
  extended by skrueger.geotools.StyledLayerStyle<E>

public class StyledLayerStyle<E>
extends Object

This class combines a Geotools visualisation Style with additional meta data needed for visualisation (for example legend data). The class E defines the type of the meta data.

Version:
1.0
Author:
Martin Schmitz (University of Bonn/Germany)

Field Summary
protected  Style geoObjectStyle
          Holds the Geotools Style for the geo object visualisation.
protected  E metaData
          Holds the additional meta data for object visualisation (for example legend information).
 
Constructor Summary
StyledLayerStyle(Style style, E metaData)
          Creates a new style for a StyledLayerInterface.
 
Method Summary
 Style getGeoObjectStyle()
          Returns the Geotools style for the object visualisation.
 E getMetaData()
          Returns the additional meta data needed for object visualisation.
 void setGeoObjectStyle(Style style)
          Sets the Geotools style for the object visualisation.
 void setMetaData(E metaData)
          Sets the additional meta data needed for object visualisation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

geoObjectStyle

protected Style geoObjectStyle
Holds the Geotools Style for the geo object visualisation.


metaData

protected E metaData
Holds the additional meta data for object visualisation (for example legend information).

Constructor Detail

StyledLayerStyle

public StyledLayerStyle(Style style,
                        E metaData)
Creates a new style for a StyledLayerInterface.

Parameters:
style - Style
metaData - E
Method Detail

getMetaData

public E getMetaData()
Returns the additional meta data needed for object visualisation.


setMetaData

public void setMetaData(E metaData)
Sets the additional meta data needed for object visualisation.

Parameters:
metaData - the meta data

getGeoObjectStyle

public Style getGeoObjectStyle()
Returns the Geotools style for the object visualisation.


setGeoObjectStyle

public void setGeoObjectStyle(Style style)
Sets the Geotools style for the object visualisation.

Parameters:
style - a Geotools visualisation style