|
|||||||||||
| 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.RuleImpl
Provides the default implementation of Rule.
| Field Summary |
| Fields inherited from class org.geotools.event.AbstractGTComponent |
notification |
| Constructor Summary | |
protected |
RuleImpl()
Creates a new instance of DefaultRule |
protected |
RuleImpl(Symbolizer[] symbolizers)
Creates a new instance of DefaultRule |
| Method Summary | |
void |
accept(StyleVisitor visitor)
|
void |
addLegendGraphic(Graphic graphic)
|
void |
addSymbolizer(Symbolizer symb)
|
java.lang.Object |
clone()
Creates a deep copy clone of the rule. |
boolean |
equals(java.lang.Object oth)
Compares this Rule with another for equality. |
java.lang.String |
getAbstract()
Getter for property abstractStr. |
Filter |
getFilter()
|
Graphic[] |
getLegendGraphic()
A set of equivalent Graphics in different formats which can be used as a legend against features stylized by the symbolizers in this rule. |
double |
getMaxScaleDenominator()
Getter for property maxScaleDenominator. |
double |
getMinScaleDenominator()
Getter for property minScaleDenominator. |
java.lang.String |
getName()
Getter for property name. |
Symbolizer[] |
getSymbolizers()
The symbolizers contain the actual styling information for different geometry types. |
java.lang.String |
getTitle()
Getter for property title. |
boolean |
hasElseFilter()
|
int |
hashCode()
Generates a hashcode for the Rule. |
void |
setAbstract(java.lang.String abstractStr)
Setter for property abstractStr. |
void |
setFilter(Filter filter)
|
void |
setHasElseFilter()
|
void |
setIsElseFilter(boolean flag)
|
void |
setLegendGraphic(Graphic[] graphics)
A set of equivalent Graphics in different formats which can be used as a legend against features stylized by the symbolizers in this rule. |
void |
setMaxScaleDenominator(double maxScaleDenominator)
Setter for property maxScaleDenominator. |
void |
setMinScaleDenominator(double minScaleDenominator)
Setter for property minScaleDenominator. |
void |
setName(java.lang.String name)
Setter for property name. |
void |
setSymbolizers(Symbolizer[] syms)
The symbolizers contain the actual styling information for different geometry types. |
void |
setTitle(java.lang.String title)
Setter for property title. |
| 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, toString, wait, wait, wait |
| Methods inherited from interface org.geotools.event.GTComponent |
changed, getNote, getParent, removed, setNote |
| Constructor Detail |
protected RuleImpl()
protected RuleImpl(Symbolizer[] symbolizers)
symbolizers - DOCUMENT ME!| Method Detail |
public Graphic[] getLegendGraphic()
Rule
getLegendGraphic in interface Rulepublic void addLegendGraphic(Graphic graphic)
public void setLegendGraphic(Graphic[] graphics)
setLegendGraphic in interface Rulegraphics - An array of Graphic objects, any of which can be used as
the legend.public void addSymbolizer(Symbolizer symb)
public void setSymbolizers(Symbolizer[] syms)
Rule
setSymbolizers in interface Rulesyms - An array of symbolizers to be applied, in sequence,
to all of the features addressed by the FeatureTypeStyler which
contains this rule.public Symbolizer[] getSymbolizers()
Rule
getSymbolizers in interface Rulepublic java.lang.String getAbstract()
getAbstract in interface Rulepublic void setAbstract(java.lang.String abstractStr)
setAbstract in interface RuleabstractStr - New value of property abstractStr.public java.lang.String getName()
getName in interface Rulepublic void setName(java.lang.String name)
setName in interface Rulename - New value of property name.public java.lang.String getTitle()
getTitle in interface Rulepublic void setTitle(java.lang.String title)
setTitle in interface Ruletitle - New value of property title.public Filter getFilter()
getFilter in interface Rulepublic void setFilter(Filter filter)
setFilter in interface Rulepublic boolean hasElseFilter()
hasElseFilter in interface Rulepublic void setIsElseFilter(boolean flag)
setIsElseFilter in interface Rulepublic void setHasElseFilter()
public double getMaxScaleDenominator()
getMaxScaleDenominator in interface Rulepublic void setMaxScaleDenominator(double maxScaleDenominator)
setMaxScaleDenominator in interface RulemaxScaleDenominator - New value of property maxScaleDenominator.public double getMinScaleDenominator()
getMinScaleDenominator in interface Rulepublic void setMinScaleDenominator(double minScaleDenominator)
setMinScaleDenominator in interface RuleminScaleDenominator - New value of property minScaleDenominator.public void accept(StyleVisitor visitor)
accept in interface Rulepublic java.lang.Object clone()
clone in interface org.opengis.util.Cloneableclone in class AbstractGTComponentorg.geotools.styling.Rule#clone()public int hashCode()
For complex styles this can be an expensive operation since the hash code is computed using all the hashcodes of the object within the style.
public boolean equals(java.lang.Object oth)
Two RuleImpls are equal if all their properties are equal.
For complex styles this can be an expensive operation since it checks all objects for equality.
oth - The other rule to compare with.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||