|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.data.DataChoice
ucar.unidata.data.DataDataChoice
public class DataDataChoice
A data choice that simply holds a reference to a visad.Data object
| Field Summary |
|---|
| Fields inherited from class ucar.unidata.data.DataChoice |
|---|
description, id, name, NULL_DATASELECTION, NULL_PROPERTIES, NULL_REQUESTPROPERTIES, parent, PROP_ICON, PROP_REQUESTER, properties |
| Constructor Summary | |
|---|---|
DataDataChoice()
The bean constructor. |
|
DataDataChoice(DataDataChoice other)
Create a new DataChoice, using the state of the given DataChoice to initialize the new object. |
|
DataDataChoice(String name,
Data data)
Create a new DataChoice. |
|
| Method Summary | |
|---|---|
void |
addDataChangeListener(DataChangeListener listener)
add listener. |
DataChoice |
cloneMe()
Clone me |
protected Data |
getData(DataCategory category,
DataSelection dataSelection,
Hashtable requestProperties)
Return the Data object that this DataChoice represents. |
void |
removeDataChangeListener(DataChangeListener listener)
Remove the DataChangeListener. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DataDataChoice()
public DataDataChoice(DataDataChoice other)
other - The other data choice.
public DataDataChoice(String name,
Data data)
name - The short name of this choice.data - The data| Method Detail |
|---|
public DataChoice cloneMe()
cloneMe in class DataChoice
protected Data getData(DataCategory category,
DataSelection dataSelection,
Hashtable requestProperties)
throws VisADException,
RemoteException,
DataCancelException
Data object that this DataChoice represents.
getData in class DataChoicecategory - 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 properties
DataCancelException - if the request to get data is canceled
RemoteException - problem accessing remote data
VisADException - problem creating the Data objectpublic void addDataChangeListener(DataChangeListener listener)
addDataChangeListener in class DataChoicelistener - listenerpublic void removeDataChangeListener(DataChangeListener listener)
DataChangeListener.
removeDataChangeListener in class DataChoicelistener - The DataChangeListener to remove.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||