|
|||||||||||
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.styling.StyleImpl
DOCUMENT ME!
Field Summary |
Fields inherited from class org.geotools.event.AbstractGTComponent |
notification |
Constructor Summary | |
protected |
StyleImpl()
Creates a new instance of StyleImpl |
Method Summary | |
void |
accept(StyleVisitor visitor)
Used to navigate Style information during portrayal. |
void |
addFeatureTypeStyle(FeatureTypeStyle type)
|
java.lang.Object |
clone()
Clones the Style. |
boolean |
equals(java.lang.Object oth)
Compares this Style with another. |
java.lang.String |
getAbstract()
Description of this style |
FeatureTypeStyle[] |
getFeatureTypeStyles()
Array of FeatureTypeStyles in portrayal order. |
java.lang.String |
getName()
Style name (machine readable, don't show to users) |
java.lang.String |
getTitle()
|
int |
hashCode()
Overrides hashcode. |
boolean |
isDefault()
Indicates that this is the default style. |
void |
setAbstract(java.lang.String abstractStr)
|
void |
setDefault(boolean isDefault)
Indicates that this is the default style. |
void |
setFeatureTypeStyles(FeatureTypeStyle[] styles)
|
void |
setName(java.lang.String name)
|
void |
setTitle(java.lang.String title)
|
java.lang.String |
toString()
|
Methods inherited from class org.geotools.event.AbstractGTComponent |
changed, fireChanged, fireChildChanged, getNote, getParent, removed, setNote |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.geotools.event.GTComponent |
changed, getNote, getParent, removed, setNote |
Constructor Detail |
protected StyleImpl()
Method Detail |
public java.lang.String getAbstract()
Style
getAbstract
in interface Style
public FeatureTypeStyle[] getFeatureTypeStyles()
Style
FeatureTypeStyle entries are rendered in order of appearance in this list.
Note: We are using a Array here to continue with Java 1.4 deployment.
getFeatureTypeStyles
in interface Style
public void setFeatureTypeStyles(FeatureTypeStyle[] styles)
setFeatureTypeStyles
in interface Style
public void addFeatureTypeStyle(FeatureTypeStyle type)
addFeatureTypeStyle
in interface Style
public java.lang.String getName()
Style
getName
in interface Style
public java.lang.String getTitle()
getTitle
in interface Style
public boolean isDefault()
Style
isDefault
in interface Style
public void setAbstract(java.lang.String abstractStr)
setAbstract
in interface Style
public void setDefault(boolean isDefault)
Style
Assume this is kept for GeoServer enabling a WMS to track which style is considered the default. May consider providing a clientProperties mechanism similar to Swing JComponent allowing applications to mark up the Style content for custom uses.
setDefault
in interface Style
isDefault
- public void setName(java.lang.String name)
setName
in interface Style
public void setTitle(java.lang.String title)
setTitle
in interface Style
public void accept(StyleVisitor visitor)
Style
accept
in interface Style
visitor
- public java.lang.Object clone()
clone
in interface org.opengis.util.Cloneable
clone
in class AbstractGTComponent
java.lang.RuntimeException
- DOCUMENT ME!org.geotools.styling.Style#clone()
public int hashCode()
public boolean equals(java.lang.Object oth)
Two StyleImpl are equal if they have the same properties and the same list of FeatureTypeStyles.
oth
- The object to compare with this for equality.
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |