|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GraphicStyle
Serves as the base interface for the collection of drawing attributes that are
applied to a Graphic. Subclasses provide
attributes for specifying SLD-based line symbolizer, polygon symbolizer, point
symbolizer, text symbolizer. Attributes common to all types of geometry,
related to viewability, editability, and highlighting, are contained in
Graphic.
| Method Summary | |
|---|---|
void |
addGraphicStyleListener(GraphicStyleListener listener)
Registers the given object as a listener to receive events when the properties of this style have changed. |
Object |
clone()
Method inherited from the Cloneable interface, included here
for public access. |
Object |
getImplHint(String hintName)
Returns the given implementation-specific hint for the given name. |
void |
removeGraphicStyleListener(GraphicStyleListener listener)
For a listener that was previously added using the addGraphicStyleListener method, this method de-registers
it so that it will no longer receive events when the properties of this
style have changed. |
void |
setImplHint(String hintname,
Object hint)
Sets the given implementation-specific hint for the given name. |
void |
setPropertiesFrom(GraphicStyle style)
Sets the properties of this GraphicStyle from the
properties of the specified GraphicStyle. |
| Method Detail |
|---|
void addGraphicStyleListener(GraphicStyleListener listener)
void removeGraphicStyleListener(GraphicStyleListener listener)
addGraphicStyleListener method, this method de-registers
it so that it will no longer receive events when the properties of this
style have changed.
Object getImplHint(String hintName)
hintName - The hint key.
void setImplHint(String hintname,
Object hint)
hintname - The hint key.hint - The hint.void setPropertiesFrom(GraphicStyle style)
GraphicStyle from the
properties of the specified GraphicStyle. May throw an exception
if the given object is not the same type as this one.
style - the GraphicStyle used to set this
GraphicStyle properties.Object clone()
Cloneable interface, included here
for public access.
implHints, etc.Object.clone()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||