Package ucar.unidata.data.gis
Class KmlPolygons
java.lang.Object
ucar.unidata.data.DataChoice
ucar.unidata.data.DirectDataChoice
ucar.unidata.data.gis.KmlInfo
ucar.unidata.data.gis.KmlPolygons
Class KmlPolygons represents polygons from KML
- Version:
- $Revision: 1.8 $
- Author:
- IDV Development Team
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
xml tagstatic final String
xml tagstatic final String
xml tagFields inherited from class ucar.unidata.data.gis.KmlInfo
TAG_ADDRESS, TAG_COORDINATES, TAG_DESCRIPTION, TAG_LINESTRING, TAG_NAME
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
ConstructorsConstructorDescriptionctorKmlPolygons
(Element node, String displayCategory, String color) ctorKmlPolygons
(Element node, String displayCategory, String color, DateTime dateTime) ctor -
Method Summary
Modifier and TypeMethodDescriptiongetData
(JsonDataSource dataSource, Object loadId) Create the datagetData
(KmlDataSource dataSource, Object loadId) Create the dataMethods inherited from class ucar.unidata.data.gis.KmlInfo
getCategories, 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_POLYGON
xml tag- See Also:
-
TAG_OUTERBOUNDARYIS
xml tag- See Also:
-
TAG_LINEARRING
xml tag- See Also:
-
color
-
dateTime
-
-
Constructor Details
-
KmlPolygons
public KmlPolygons()ctor -
KmlPolygons
ctor- Parameters:
node
- nodedisplayCategory
- the category of displaycolor
- the color of the polygon
-
KmlPolygons
ctor- Parameters:
node
- nodedisplayCategory
- the category of displaycolor
- the color of the polygondateTime
- the time of the polygon
-
-
Method Details
-
getData
Create the data- Specified by:
getData
in classKmlInfo
- Parameters:
dataSource
- fromloadId
- For loading- Returns:
- The data
- Throws:
RemoteException
- On badnessVisADException
- On badness
-
getData
public Data getData(JsonDataSource dataSource, Object loadId) throws VisADException, RemoteException Create the data- Specified by:
getData
in classKmlInfo
- Parameters:
dataSource
- fromloadId
- For loading- Returns:
- The data
- Throws:
RemoteException
- On badnessVisADException
- On badness
-