|
|||||||||||
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.FillImpl
Field Summary |
Fields inherited from class org.geotools.event.AbstractGTComponent |
notification |
Fields inherited from interface org.geotools.styling.Fill |
DEFAULT, NULL |
Constructor Summary | |
protected |
FillImpl()
Creates a new instance of DefaultFill |
|
FillImpl(FilterFactory factory)
|
Method Summary | |
void |
accept(StyleVisitor visitor)
|
java.lang.Object |
clone()
Returns a clone of the FillImpl. |
boolean |
equals(java.lang.Object oth)
Compares a FillImpl with another for equality. |
Expression |
getBackgroundColor()
This parameter gives the solid color that will be used as a background for a Fill. |
Expression |
getColor()
This parameter gives the solid color that will be used for a Fill. |
Graphic |
getGraphicFill()
This parameter indicates that a stipple-fill repeated graphic will be used and specifies the fill graphic to use. |
Expression |
getOpacity()
This specifies the level of translucency to use when rendering the fill. |
int |
hashCode()
Generates a hashcode for the FillImpl. |
void |
setBackgroundColor(Expression rgb)
This parameter gives the solid color that will be used as a background for a Fill. |
void |
setBackgroundColor(java.lang.String rgb)
|
void |
setColor(Expression rgb)
This parameter gives the solid color that will be used for a Fill. |
void |
setColor(java.lang.String rgb)
|
void |
setFilterFactory(FilterFactory factory)
|
void |
setGraphicFill(Graphic graphicFill)
Setter for property graphic. |
void |
setOpacity(Expression opacity)
Setter for property opacity. |
void |
setOpacity(java.lang.String opacity)
|
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 FillImpl()
public FillImpl(FilterFactory factory)
Method Detail |
public void setFilterFactory(FilterFactory factory)
public Expression getColor()
getColor
in interface Fill
public void setColor(Expression rgb)
setColor
in interface Fill
rgb
- The color of the Fill encoded as a hexidecimal RGB value.public void setColor(java.lang.String rgb)
public Expression getBackgroundColor()
getBackgroundColor
in interface Fill
public void setBackgroundColor(Expression rgb)
setBackgroundColor
in interface Fill
rgb
- The color of the Fill encoded as a hexidecimal RGB value.public void setBackgroundColor(java.lang.String rgb)
public Expression getOpacity()
getOpacity
in interface Fill
public void setOpacity(Expression opacity)
setOpacity
in interface Fill
opacity
- New value of property opacity.public void setOpacity(java.lang.String opacity)
public Graphic getGraphicFill()
getGraphicFill
in interface Fill
public void setGraphicFill(Graphic graphicFill)
setGraphicFill
in interface Fill
graphicFill
- New value of property graphic.public void accept(StyleVisitor visitor)
accept
in interface Fill
public java.lang.Object clone()
clone
in interface org.opengis.util.Cloneable
clone
in class AbstractGTComponent
org.geotools.styling.Fill#clone()
public int hashCode()
public boolean equals(java.lang.Object oth)
Two FillImpls are equal if they contain the same, color, backgroundcolor, opacity and graphicFill.
oth
- The other FillImpl
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |