|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.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 Stylepublic FeatureTypeStyle[] getFeatureTypeStyles()
StyleFeatureTypeStyle 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 Stylepublic void setFeatureTypeStyles(FeatureTypeStyle[] styles)
setFeatureTypeStyles in interface Stylepublic void addFeatureTypeStyle(FeatureTypeStyle type)
addFeatureTypeStyle in interface Stylepublic java.lang.String getName()
Style
getName in interface Stylepublic java.lang.String getTitle()
getTitle in interface Stylepublic boolean isDefault()
Style
isDefault in interface Stylepublic void setAbstract(java.lang.String abstractStr)
setAbstract in interface Stylepublic void setDefault(boolean isDefault)
StyleAssume 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 StyleisDefault - public void setName(java.lang.String name)
setName in interface Stylepublic void setTitle(java.lang.String title)
setTitle in interface Stylepublic void accept(StyleVisitor visitor)
Style
accept in interface Stylevisitor - public java.lang.Object clone()
clone in interface org.opengis.util.Cloneableclone in class AbstractGTComponentjava.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 | ||||||||||