public class ComboDataChoice extends ucar.unidata.data.DataChoice
Modifier and Type | Field and Description |
---|---|
private static java.util.List<ucar.unidata.data.DataCategory> |
CATEGORIES |
private Data |
data
The data
|
Constructor and Description |
---|
ComboDataChoice()
The bean constructor.
|
ComboDataChoice(ComboDataChoice other)
Create a new DataChoice, using the state of the given DataChoice to
initialize the new object.
|
ComboDataChoice(java.lang.String name,
java.util.List categories,
java.util.Hashtable props)
Create a new DataChoice with a random identifier.
|
ComboDataChoice(java.lang.String id,
java.lang.String name,
java.util.Hashtable props,
Data data) |
Modifier and Type | Method and Description |
---|---|
void |
addDataChangeListener(ucar.unidata.data.DataChangeListener listener)
add listener.
|
ucar.unidata.data.DataChoice |
cloneMe()
Clone me.
|
Data |
getData() |
protected Data |
getData(ucar.unidata.data.DataCategory category,
ucar.unidata.data.DataSelection dataSelection,
java.util.Hashtable requestProperties)
Return the
Data object that this DataChoice represents. |
void |
removeDataChangeListener(ucar.unidata.data.DataChangeListener listener)
Remove the
DataChangeListener . |
void |
setData(Data data) |
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
private static final java.util.List<ucar.unidata.data.DataCategory> CATEGORIES
public ComboDataChoice()
public ComboDataChoice(ComboDataChoice other)
other
- The other data choice.public ComboDataChoice(java.lang.String name, java.util.List categories, java.util.Hashtable props)
name
- Short name of this choice.categories
- List of DataCategories
.props
- Properties for this data choice. null
is allowed.public ComboDataChoice(java.lang.String id, java.lang.String name, java.util.Hashtable props, Data data)
public ucar.unidata.data.DataChoice cloneMe()
cloneMe
in class ucar.unidata.data.DataChoice
protected Data getData(ucar.unidata.data.DataCategory category, ucar.unidata.data.DataSelection dataSelection, java.util.Hashtable requestProperties) throws VisADException, java.rmi.RemoteException, ucar.unidata.data.DataCancelException
Data
object that this DataChoice represents.getData
in class ucar.unidata.data.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 propertiesucar.unidata.data.DataCancelException
- if the request to get data is canceledjava.rmi.RemoteException
- problem accessing remote dataVisADException
- problem creating the Data objectpublic void addDataChangeListener(ucar.unidata.data.DataChangeListener listener)
addDataChangeListener
in class ucar.unidata.data.DataChoice
listener
- listenerpublic void removeDataChangeListener(ucar.unidata.data.DataChangeListener listener)
DataChangeListener
.removeDataChangeListener
in class ucar.unidata.data.DataChoice
listener
- The DataChangeListener
to remove.