public abstract class KmlImageElement extends KmlInfo
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TAG_HREF
xml tags
|
static java.lang.String |
TAG_ICON
xml tags
|
static java.lang.String |
TAG_NAME
xml tags
|
TAG_ADDRESS, TAG_COORDINATES, TAG_DESCRIPTION, TAG_LINESTRING
dataSource, PROP_WRITEDATASOURCE
description, id, NULL_DATASELECTION, NULL_PROPERTIES, NULL_REQUESTPROPERTIES, parent, PROP_ICON, PROP_REQUESTER, properties
Constructor and Description |
---|
KmlImageElement()
ctor
|
KmlImageElement(org.w3c.dom.Element node,
java.lang.String displayCategory,
java.lang.String baseUrl)
ctor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBaseUrl()
Get the BaseUrl property.
|
java.lang.String |
getHref()
Get the Href property.
|
static java.lang.String |
getHref(org.w3c.dom.Element node)
Find the href element
|
java.awt.Image |
getImage(JsonDataSource dataSource)
get the image data
|
java.awt.Image |
getImage(KmlDataSource dataSource)
get the image data
|
void |
setBaseUrl(java.lang.String value)
Set the BaseUrl property.
|
void |
setHref(java.lang.String value)
Set the Href property.
|
getCategories, getData, getData, getName, setName
addDataChangeListener, basicallyEquals, cloneMe, equals, getAllDateTimes, getAllLevels, getData, getDataSource, getDataSources, getFinalDataChoices, getFullDescription, getSelectedDateTimes, hashCode, initAfterUnPersistence, removeDataChangeListener, setDataSource
addCategory, addCurrentName, addParamNameToCategories, cloneDataChoices, createClone, getAllLevels, getCurrentNames, getData, getData, getDataCategories, getDataCategories, getDataSelection, getDescription, getDisplayCategory, getFixedRequestProperties, getForUser, getId, getIndexedName, getParent, getProperties, getProperty, getProperty, getProperty, getStringId, isEndUserFormula, mergeRequestProperties, setCategories, setDataCategories, setDataSelection, setDescription, setFixedRequestProperties, setId, setLevelSelection, setObjectProperty, setParent, setProperties, setProperty, setProperty, setTimeSelection, toString
public static final java.lang.String TAG_ICON
public static final java.lang.String TAG_NAME
public static final java.lang.String TAG_HREF
public KmlImageElement()
public KmlImageElement(org.w3c.dom.Element node, java.lang.String displayCategory, java.lang.String baseUrl)
node
- kml nodedisplayCategory
- display categorybaseUrl
- url of the kml docpublic static java.lang.String getHref(org.w3c.dom.Element node)
node
- nodepublic java.awt.Image getImage(KmlDataSource dataSource) throws visad.VisADException, java.rmi.RemoteException
dataSource
- data sourcejava.rmi.RemoteException
- On badnessvisad.VisADException
- On badnesspublic java.awt.Image getImage(JsonDataSource dataSource) throws visad.VisADException, java.rmi.RemoteException
dataSource
- data sourcejava.rmi.RemoteException
- On badnessvisad.VisADException
- On badnesspublic void setHref(java.lang.String value)
value
- The new value for Hrefpublic java.lang.String getHref()
public void setBaseUrl(java.lang.String value)
value
- The new value for BaseUrlpublic java.lang.String getBaseUrl()