Package ucar.unidata.data
Class UnboundDataChoice
java.lang.Object
ucar.unidata.data.DataChoice
ucar.unidata.data.UnboundDataChoice
Represents a DataChoice in a formula that is unbound.
- Version:
- $Revision: 1.25 $
- Author:
- Metapps development team
-
Field Summary
FieldsFields inherited from class ucar.unidata.data.DataChoice
description, id, name, NULL_DATASELECTION, NULL_PROPERTIES, NULL_REQUESTPROPERTIES, parent, PROP_ICON, PROP_REQUESTER, properties
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor; does nothingUnboundDataChoice
(String label) Create a new UnboundDataChoice.Copy constructor for creating one from another -
Method Summary
Modifier and TypeMethodDescriptionvoid
addDataChangeListener
(DataChangeListener listener) Add aDataChangeListener
.cloneMe()
Create a clone of this.protected Data
getData
(DataCategory category, DataSelection dataSelection, Hashtable requestProperties) A no-opgetLabel()
Get the label for this.void
removeDataChangeListener
(DataChangeListener listener) Remove aDataChangeListener
.toString()
Return a String representation of this UnboundDataChoice.Methods inherited from class ucar.unidata.data.DataChoice
addCategory, addCurrentName, addParamNameToCategories, basicallyEquals, cloneDataChoices, createClone, equals, getAllDateTimes, getAllLevels, getAllLevels, getCategories, getCurrentNames, getData, getData, getDataCategories, getDataCategories, getDataSelection, getDataSources, getDescription, getDisplayCategory, getFinalDataChoices, getFixedRequestProperties, getForUser, getFullDescription, getId, getIndexedName, getName, getParent, getProperties, getProperty, getProperty, getProperty, getSelectedDateTimes, getStringId, hashCode, initAfterUnPersistence, isEndUserFormula, mergeRequestProperties, setCategories, setDataCategories, setDataSelection, setDescription, setFixedRequestProperties, setId, setLevelSelection, setName, setObjectProperty, setParent, setProperties, setProperty, setProperty, setTimeSelection
-
Field Details
-
label
label for his
-
-
Constructor Details
-
UnboundDataChoice
public UnboundDataChoice()Default constructor; does nothing -
UnboundDataChoice
Copy constructor for creating one from another- Parameters:
other
- the other
-
UnboundDataChoice
Create a new UnboundDataChoice.- Parameters:
label
- the label for this
-
-
Method Details
-
cloneMe
Create a clone of this. Calls the copy constructor- Specified by:
cloneMe
in classDataChoice
- Returns:
- A new UnboundDataChoice, just like me!
-
getLabel
Get the label for this.- Returns:
- the label
-
toString
Return a String representation of this UnboundDataChoice.- Overrides:
toString
in classDataChoice
- Returns:
- String representation of this UnboundDataChoice
-
getData
protected Data getData(DataCategory category, DataSelection dataSelection, Hashtable requestProperties) throws VisADException, RemoteException A no-op- Specified by:
getData
in classDataChoice
- Parameters:
category
- The data category of the request.dataSelection
- Identifies any subsetting of the data.requestProperties
- Hashtable that holds any detailed request properties.- Returns:
- null
- Throws:
RemoteException
- Java RMI problemVisADException
- VisAD problem
-
addDataChangeListener
Add aDataChangeListener
. Does nothing- Specified by:
addDataChangeListener
in classDataChoice
- Parameters:
listener
- listener to add
-
removeDataChangeListener
Remove aDataChangeListener
. Does nothing.- Specified by:
removeDataChangeListener
in classDataChoice
- Parameters:
listener
- listener to remove
-