|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectExternalGraphicImpl
public class ExternalGraphicImpl
DOCUMENT ME!
modules/library/main (gt-main.jar)
Field Summary |
---|
Fields inherited from interface ExternalGraphic |
---|
EXTERNAL_GRAPHICS_EMPTY |
Fields inherited from interface Symbol |
---|
SYMBOLS_EMPTY |
Constructor Summary | |
---|---|
ExternalGraphicImpl()
|
|
ExternalGraphicImpl(Icon icon,
Collection<ColorReplacement> replaces,
OnLineResource source)
|
Method Summary | |
---|---|
void |
accept(StyleVisitor visitor)
|
Object |
accept(StyleVisitor visitor,
Object data)
|
Object |
clone()
Returns a clone of the ExternalGraphic |
Set<ColorReplacement> |
colorReplacements()
|
boolean |
equals(Object oth)
Compares this ExternalGraphi with another. |
Collection<ColorReplacement> |
getColorReplacements()
|
Map<String,Object> |
getCustomProperties()
|
String |
getFormat()
Provides the format of the external graphic. |
Icon |
getInlineContent()
|
URL |
getLocation()
Provides the URL for where the external graphic resource can be located. |
OnLineResource |
getOnlineResource()
|
int |
hashCode()
Generates a hashcode for the ExternalGraphic |
void |
setCustomProperties(Map<String,Object> list)
|
void |
setFormat(String format)
Setter for property Format. |
void |
setInlineContent(Icon inlineContent)
|
void |
setLocation(URL location)
Setter for property location. |
void |
setOnlineResource(OnLineResource online)
|
void |
setURI(String uri)
Deprecated. |
Methods inherited from class Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExternalGraphicImpl()
public ExternalGraphicImpl(Icon icon, Collection<ColorReplacement> replaces, OnLineResource source)
Method Detail |
---|
@Deprecated public void setURI(String uri)
public String getFormat()
getFormat
in interface ExternalGraphic
public URL getLocation() throws MalformedURLException
MalformedURLException
- If unable to represent external graphic as a URLpublic void setFormat(String format)
format
- New value of property Format.public void setLocation(URL location)
location
- New value of property location.public Object accept(StyleVisitor visitor, Object data)
accept
in interface ExternalGraphic
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()
public void setCustomProperties(Map<String,Object> list)
public OnLineResource getOnlineResource()
getOnlineResource
in interface ExternalGraphic
public void setOnlineResource(OnLineResource online)
public Icon getInlineContent()
getInlineContent
in interface ExternalGraphic
public void setInlineContent(Icon inlineContent)
public Collection<ColorReplacement> getColorReplacements()
getColorReplacements
in interface ExternalGraphic
public Set<ColorReplacement> colorReplacements()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |