|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.event.AbstractGTComponent org.geotools.event.AbstractGTRoot org.geotools.styling.StyledLayerDescriptorImpl
Holds styling information (from a StyleLayerDescriptor document).
This class is based on version 1.0 of the SLD specification.
For many of us in geotools this is the reason we came along for the ride - a pretty picture. For documentation on the use of this class please consult the SLD 1.0 specification.
We may experiment with our own (or SLD 1.1) ideas but will mark such experiments for you. This is only an issue of you are considering writing out these objects for interoptability with other systems.
General strategy for supporting multiple SLD versions (and experiments):
Field Summary |
Fields inherited from interface org.geotools.event.GTRoot |
NO_PARENT |
Constructor Summary | |
StyledLayerDescriptorImpl()
|
Method Summary | |
void |
accept(StyleVisitor visitor)
Used to navigate a Style/SLD. |
void |
addStyledLayer(StyledLayer layer)
|
void |
changed(GTDelta delta)
Used to pass on "We changed" notification from children. |
java.lang.String |
getAbstract()
Getter for property abstractStr. |
Style |
getDefaultStyle()
Convenience method for grabbing the default style from the StyledLayerDescriptor. |
java.lang.String |
getName()
Getter for property name. |
StyledLayer[] |
getStyledLayers()
|
java.lang.String |
getTitle()
Getter for property title. |
void |
removed(GTDelta childDelta)
Issue a change event w/ PRE_DELETE |
void |
setAbstract(java.lang.String abstractStr)
Setter for property abstractStr. |
void |
setName(java.lang.String name)
Setter for property name. |
void |
setStyledLayers(StyledLayer[] layers)
|
void |
setTitle(java.lang.String title)
Setter for property title. |
Methods inherited from class org.geotools.event.AbstractGTRoot |
addListener, clone, fire, fire, fireChanged, fireChildChanged, hasListeners, removeListener |
Methods inherited from class org.geotools.event.AbstractGTComponent |
getNote, getParent, setNote |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.geotools.styling.StyledLayerDescriptor |
addListener, removeListener |
Methods inherited from interface org.geotools.event.GTComponent |
getNote, getParent, setNote |
Methods inherited from interface org.geotools.event.GTRoot |
getParent |
Constructor Detail |
public StyledLayerDescriptorImpl()
Method Detail |
public Style getDefaultStyle()
public StyledLayer[] getStyledLayers()
getStyledLayers
in interface StyledLayerDescriptor
public void setStyledLayers(StyledLayer[] layers)
setStyledLayers
in interface StyledLayerDescriptor
public void addStyledLayer(StyledLayer layer)
addStyledLayer
in interface StyledLayerDescriptor
public java.lang.String getName()
getName
in interface StyledLayerDescriptor
public void setName(java.lang.String name)
setName
in interface StyledLayerDescriptor
name
- New value of property name.public java.lang.String getTitle()
getTitle
in interface StyledLayerDescriptor
public void setTitle(java.lang.String title)
setTitle
in interface StyledLayerDescriptor
title
- New value of property title.public java.lang.String getAbstract()
getAbstract
in interface StyledLayerDescriptor
public void setAbstract(java.lang.String abstractStr)
setAbstract
in interface StyledLayerDescriptor
abstractStr
- New value of property abstractStr.public void removed(GTDelta childDelta)
removed
in interface GTComponent
removed
in class AbstractGTRoot
childDelta
- Delta describing changepublic void changed(GTDelta delta)
changed
in interface GTComponent
changed
in class AbstractGTRoot
delta
- Describes changepublic void accept(StyleVisitor visitor)
StyledLayerDescriptor
accept
in interface StyledLayerDescriptor
visitor
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |