public class DataDataChoice extends DataChoice
description, id, name, NULL_DATASELECTION, NULL_PROPERTIES, NULL_REQUESTPROPERTIES, parent, PROP_ICON, PROP_REQUESTER, properties
Constructor and Description |
---|
DataDataChoice()
The bean constructor.
|
DataDataChoice(DataDataChoice other)
Create a new DataChoice, using the state of the given DataChoice to
initialize the new object.
|
DataDataChoice(java.lang.String name,
visad.Data data)
Create a new DataChoice.
|
Modifier and Type | Method and Description |
---|---|
void |
addDataChangeListener(DataChangeListener listener)
add listener.
|
DataChoice |
cloneMe()
Clone me
|
protected visad.Data |
getData(DataCategory category,
DataSelection dataSelection,
java.util.Hashtable requestProperties)
Return the
Data object that this DataChoice represents. |
void |
removeDataChangeListener(DataChangeListener listener)
Remove the
DataChangeListener . |
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, toString
public DataDataChoice()
public DataDataChoice(DataDataChoice other)
other
- The other data choice.public DataDataChoice(java.lang.String name, visad.Data data)
name
- The short name of this choice.data
- The datapublic DataChoice cloneMe()
cloneMe
in class DataChoice
protected visad.Data getData(DataCategory category, DataSelection dataSelection, java.util.Hashtable requestProperties) throws visad.VisADException, java.rmi.RemoteException, DataCancelException
Data
object that this DataChoice represents.getData
in class DataChoice
category
- The DataCategory
used to subset this
call (usually not used but placed in here
just in case it is needed.)dataSelection
- Allows one to subset the data request (e.g.,
asking for a smaller set of times, etc.)requestProperties
- Extra selection propertiesDataCancelException
- if the request to get data is canceledjava.rmi.RemoteException
- problem accessing remote datavisad.VisADException
- problem creating the Data objectpublic void addDataChangeListener(DataChangeListener listener)
addDataChangeListener
in class DataChoice
listener
- listenerpublic void removeDataChangeListener(DataChangeListener listener)
DataChangeListener
.removeDataChangeListener
in class DataChoice
listener
- The DataChangeListener
to remove.