|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectStyleImpl
public class StyleImpl
Implementation of style
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)
|
Object |
clone()
Clones the Style. |
boolean |
equals(Object oth)
Compares this Style with another. |
String |
getAbstract()
Description of this style |
Description |
getDescription()
Description for this style. |
FeatureTypeStyle[] |
getFeatureTypeStyles()
Array of FeatureTypeStyles in portrayal order. |
String |
getName()
Style name (machine readable, don't show to users) |
String |
getTitle()
Style Title (human readable name for user interfaces) |
int |
hashCode()
Overrides hashcode. |
boolean |
isDefault()
Indicates that this is the default style. |
void |
setAbstract(String abstractStr)
|
void |
setDefault(boolean isDefault)
Indicates that this is the default style. |
void |
setFeatureTypeStyles(FeatureTypeStyle[] styles)
|
void |
setName(String name)
|
void |
setTitle(String title)
|
String |
toString()
|
Methods inherited from class Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected StyleImpl()
Method Detail |
---|
public Description getDescription()
Style
getDescription
in interface Style
public 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 String getName()
Style
getName
in interface Style
public String getTitle()
Style
getTitle
in interface Style
public boolean isDefault()
Style
isDefault
in interface Style
public void setAbstract(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
public void setName(String name)
setName
in interface Style
public void setTitle(String title)
setTitle
in interface Style
public void accept(StyleVisitor visitor)
Style
accept
in interface Style
public Object clone()
clone
in class Object
RuntimeException
- DOCUMENT ME!org.geotools.styling.Style#clone()
public int hashCode()
hashCode
in class Object
public boolean equals(Object oth)
Two StyleImpl are equal if they have the same properties and the same list of FeatureTypeStyles.
equals
in class Object
oth
- The object to compare with this for equality.
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |