org.deegree.graphics.sld
Interface Drawing

All Known Subinterfaces:
Fill, Stroke
All Known Implementing Classes:
Drawing_Impl, Fill_Impl, Stroke_Impl

public interface Drawing

This is the top level interface of Fill and Stroke defining the methods getGraphicFill() and getCssParameters() that are common to both.

Version:
$Revision: 1.4 $ $Date: 2004/04/27 15:40:15 $
Author:
Andreas Poth

Method Summary
 void addCssParameter(java.lang.Object key, java.lang.Object value)
          A simple SVG/CSS2 styling parameters are given with the CssParameter element.
 java.util.HashMap getCssParameters()
          A simple SVG/CSS2 styling parameters are given with the CssParameter element.
 GraphicFill getGraphicFill()
          The GraphicFill element both indicates that a stipple-fill repeated graphic will be used and specifies the fill graphic.
 void removeCssParameter(java.lang.Object value)
          A simple SVG/CSS2 styling parameters are given with the CssParameter element.
 void setCssParameters(java.util.HashMap cssParameters)
          A simple SVG/CSS2 styling parameters are given with the CssParameter element.
 void setGraphicFill(GraphicFill graphicFill)
          The GraphicFill element both indicates that a stipple-fill repeated graphic will be used and specifies the fill graphic.
 

Method Detail

getGraphicFill

public GraphicFill getGraphicFill()
The GraphicFill element both indicates that a stipple-fill repeated graphic will be used and specifies the fill graphic.

Returns:
the GraphicFill-Element

setGraphicFill

public void setGraphicFill(GraphicFill graphicFill)
The GraphicFill element both indicates that a stipple-fill repeated graphic will be used and specifies the fill graphic.

Parameters:
graphicFill - the GraphicFill-Element

getCssParameters

public java.util.HashMap getCssParameters()
A simple SVG/CSS2 styling parameters are given with the CssParameter element.

This method is for technical use. The user should access the specialized methods of the derived classes.

Returns:
the CssParameters

setCssParameters

public void setCssParameters(java.util.HashMap cssParameters)
A simple SVG/CSS2 styling parameters are given with the CssParameter element.

This method sets CssParameters.

Parameters:
cssParameters - the CssParameters

addCssParameter

public void addCssParameter(java.lang.Object key,
                            java.lang.Object value)
A simple SVG/CSS2 styling parameters are given with the CssParameter element.

This method adds a CssParameter to a given set of CssParameters.

Parameters:
key - the key of the object to insert
value - the value of the object to insert

removeCssParameter

public void removeCssParameter(java.lang.Object value)
A simple SVG/CSS2 styling parameters are given with the CssParameter element.

This method removes a CssParameter from a given set of CssParameters.

Parameters:
value - the key of the object to remove