|
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree.graphics.sld.Drawing
public class Drawing
This is the top level interface of Fill and Stroke defining the methods getGraphicFill() and getCssParameters() that are common to both.
Field Summary | |
---|---|
protected Map<String,Object> |
cssParams
The css parameters. |
protected GraphicFill |
graphicFill
the filler of a graphic |
Constructor Summary | |
---|---|
Drawing(Map<String,Object> cssParams,
GraphicFill graphicFill)
Constructs a new instance of Drawing. |
Method Summary | |
---|---|
(package private) void |
addCssParameter(String key,
Object value)
Simple SVG/CSS2 styling parameters are given with the CssParameter element. |
Map<String,Object> |
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. |
(package private) void |
removeCssParameter(Object key)
Simple SVG/CSS2 styling parameters are given with the CssParameter element. |
(package private) void |
setCssParameters(HashMap<String,Object> 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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected GraphicFill graphicFill
protected Map<String,Object> cssParams
Constructor Detail |
---|
Drawing(Map<String,Object> cssParams, GraphicFill graphicFill)
cssParams
- graphicFill
- Method Detail |
---|
public GraphicFill getGraphicFill()
public void setGraphicFill(GraphicFill graphicFill)
graphicFill
- the GraphicFill-Elementpublic Map<String,Object> getCssParameters()
void setCssParameters(HashMap<String,Object> cssParameters)
cssParameters
- the CssParametersvoid addCssParameter(String key, Object value)
key
- the key of the object to insertvalue
- the value of the object to insertvoid removeCssParameter(Object key)
This method adds a CssParameter to a given set of CssParameters.
key
- the key of the object to remove
|
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org