|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectExternalGraphicImpl
public class ExternalGraphicImpl
DOCUMENT ME!
Field Summary |
---|
Fields inherited from interface ExternalGraphic |
---|
EXTERNAL_GRAPHICS_EMPTY |
Fields inherited from interface Symbol |
---|
SYMBOLS_EMPTY |
Constructor Summary | |
---|---|
ExternalGraphicImpl()
|
Method Summary | |
---|---|
void |
accept(StyleVisitor visitor)
|
Object |
clone()
Returns a clone of the ExternalGraphic |
boolean |
equals(Object oth)
Compares this ExternalGraphi with another. |
Map<String,Object> |
getCustomProperties()
Custom user supplied properties available when working with an external graphic. |
String |
getFormat()
Provides the format of the external graphic. |
URL |
getLocation()
Provides the URL for where the external graphic resouce can be located. |
int |
hashCode()
Generates a hashcode for the ExternalGraphic |
void |
setCustomProperties(Map<String,Object> list)
Custom properties; renderer may consult these values when drawing graphic. |
void |
setFormat(String format)
Setter for property Format. |
void |
setLocation(URL location)
Setter for property location. |
void |
setURI(String uri)
converts a URI in a string to the location URL |
Methods inherited from class Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExternalGraphicImpl()
Method Detail |
---|
public void setURI(String uri)
ExternalGraphic
setURI
in interface ExternalGraphic
uri
- the uri of the external graphicpublic String getFormat()
getFormat
in interface ExternalGraphic
public URL getLocation() throws MalformedURLException
getLocation
in interface ExternalGraphic
MalformedURLException
- DOCUMENT ME!public void setFormat(String format)
setFormat
in interface ExternalGraphic
format
- New value of property Format.public void setLocation(URL location)
setLocation
in interface ExternalGraphic
location
- New value of property location.public void accept(StyleVisitor visitor)
accept
in interface Symbol
public Object clone()
clone
in class Object
org.geotools.styling.ExternalGraphic#clone()
public int hashCode()
hashCode
in class Object
public boolean equals(Object oth)
Two external graphics are equal if they have the same uri and format.
equals
in class Object
oth
- The other External graphic.
public Map<String,Object> getCustomProperties()
ExternalGraphic
getCustomProperties
in interface ExternalGraphic
public void setCustomProperties(Map<String,Object> list)
ExternalGraphic
The default GeoTools renderer uses the following:
setCustomProperties
in interface ExternalGraphic
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |