Package ucar.unidata.data.gis
Class KmlImageElement
java.lang.Object
ucar.unidata.data.DataChoice
ucar.unidata.data.DirectDataChoice
ucar.unidata.data.gis.KmlInfo
ucar.unidata.data.gis.KmlImageElement
- Direct Known Subclasses:
KmlGroundOverlay
,KmlPhotoOverlay
Class KmlImageElement represents a ground overlay in KML
- Version:
- $Revision: 1.12 $
- Author:
- IDV Development Team
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
xml tagsstatic final String
xml tagsstatic final String
xml tagsFields inherited from class ucar.unidata.data.gis.KmlInfo
TAG_ADDRESS, TAG_COORDINATES, TAG_DESCRIPTION, TAG_LINESTRING
Fields inherited from class ucar.unidata.data.DirectDataChoice
dataSource, PROP_WRITEDATASOURCE
Fields inherited from class ucar.unidata.data.DataChoice
description, id, NULL_DATASELECTION, NULL_PROPERTIES, NULL_REQUESTPROPERTIES, parent, PROP_ICON, PROP_REQUESTER, properties
-
Constructor Summary
ConstructorsConstructorDescriptionctorKmlImageElement
(Element node, String displayCategory, String baseUrl) ctor -
Method Summary
Modifier and TypeMethodDescriptionGet the BaseUrl property.getHref()
Get the Href property.static String
Find the href elementgetImage
(JsonDataSource dataSource) get the image datagetImage
(KmlDataSource dataSource) get the image datavoid
setBaseUrl
(String value) Set the BaseUrl property.void
Set the Href property.Methods inherited from class ucar.unidata.data.gis.KmlInfo
getCategories, getData, getData, getName, setName
Methods inherited from class ucar.unidata.data.DirectDataChoice
addDataChangeListener, basicallyEquals, cloneMe, equals, getAllDateTimes, getAllLevels, getData, getDataSource, getDataSources, getFinalDataChoices, getFullDescription, getSelectedDateTimes, hashCode, initAfterUnPersistence, removeDataChangeListener, setDataSource
Methods inherited from class ucar.unidata.data.DataChoice
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
-
Field Details
-
TAG_ICON
xml tags- See Also:
-
TAG_NAME
xml tags- See Also:
-
TAG_HREF
xml tags- See Also:
-
-
Constructor Details
-
KmlImageElement
public KmlImageElement()ctor -
KmlImageElement
ctor- Parameters:
node
- kml nodedisplayCategory
- display categorybaseUrl
- url of the kml doc
-
-
Method Details
-
getHref
Find the href element- Parameters:
node
- node- Returns:
- href
-
getImage
get the image data- Parameters:
dataSource
- data source- Returns:
- image data
- Throws:
RemoteException
- On badnessVisADException
- On badness
-
getImage
get the image data- Parameters:
dataSource
- data source- Returns:
- image data
- Throws:
RemoteException
- On badnessVisADException
- On badness
-
setHref
Set the Href property.- Parameters:
value
- The new value for Href
-
getHref
Get the Href property.- Returns:
- The Href
-
setBaseUrl
Set the BaseUrl property.- Parameters:
value
- The new value for BaseUrl
-
getBaseUrl
Get the BaseUrl property.- Returns:
- The BaseUrl
-