|
|||||||||||
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.ExternalGraphicImpl
DOCUMENT ME!
Field Summary |
Fields inherited from class org.geotools.event.AbstractGTComponent |
notification |
Fields inherited from interface org.geotools.styling.ExternalGraphic |
EXTERNAL_GRAPHICS_EMPTY |
Fields inherited from interface org.geotools.styling.Symbol |
SYMBOLS_EMPTY |
Constructor Summary | |
ExternalGraphicImpl()
|
Method Summary | |
void |
accept(StyleVisitor visitor)
|
java.lang.Object |
clone()
Returns a clone of the ExternalGraphic |
boolean |
equals(java.lang.Object oth)
Compares this ExternalGraphi with another. |
java.util.Map |
getCustomProperties()
|
java.lang.String |
getFormat()
Provides the format of the external graphic. |
java.net.URL |
getLocation()
Provides the URL for where the external graphic resouce can be located. |
int |
hashCode()
Generates a hashcode for the ExternalGraphic |
void |
setCustomProperties(java.util.Map list)
|
void |
setFormat(java.lang.String format)
Setter for property Format. |
void |
setLocation(java.net.URL location)
Setter for property location. |
void |
setURI(java.lang.String uri)
converts a URI in a string to the location URL |
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 |
public ExternalGraphicImpl()
Method Detail |
public void setURI(java.lang.String uri)
ExternalGraphic
setURI
in interface ExternalGraphic
uri
- the uri of the external graphicpublic java.lang.String getFormat()
getFormat
in interface ExternalGraphic
public java.net.URL getLocation() throws java.net.MalformedURLException
getLocation
in interface ExternalGraphic
java.net.MalformedURLException
- DOCUMENT ME!public void setFormat(java.lang.String format)
setFormat
in interface ExternalGraphic
format
- New value of property Format.public void setLocation(java.net.URL location)
setLocation
in interface ExternalGraphic
location
- New value of property location.public void accept(StyleVisitor visitor)
accept
in interface Symbol
public java.lang.Object clone()
clone
in interface org.opengis.util.Cloneable
clone
in class AbstractGTComponent
org.geotools.styling.ExternalGraphic#clone()
public int hashCode()
public boolean equals(java.lang.Object oth)
Two external graphics are equal if they have the same uri and format.
oth
- The other External graphic.
public java.util.Map getCustomProperties()
getCustomProperties
in interface ExternalGraphic
public void setCustomProperties(java.util.Map list)
setCustomProperties
in interface ExternalGraphic
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |