|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.data.DataChoice
edu.wisc.ssec.mcidasv.data.ComboDataChoice
public class ComboDataChoice
A data choice that simply holds a reference to a visad.Data object
| Field Summary | |
|---|---|
private static List<DataCategory> |
CATEGORIES
|
private Data |
data
The data |
| 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 | |
|---|---|
ComboDataChoice()
The bean constructor. |
|
ComboDataChoice(ComboDataChoice other)
Create a new DataChoice, using the state of the given DataChoice to initialize the new object. |
|
ComboDataChoice(String name,
List categories,
Hashtable props)
Create a new DataChoice. |
|
ComboDataChoice(String id,
String name,
Hashtable props,
Data data)
|
|
| Method Summary | |
|---|---|
void |
addDataChangeListener(DataChangeListener listener)
add listener. |
DataChoice |
cloneMe()
Clone me |
Data |
getData()
|
protected Data |
getData(DataCategory category,
DataSelection dataSelection,
Hashtable requestProperties)
Return the Data object that this DataChoice represents. |
void |
removeDataChangeListener(DataChangeListener listener)
Remove the DataChangeListener. |
void |
setData(Data data)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private static final List<DataCategory> CATEGORIES
private Data data
| Constructor Detail |
|---|
public ComboDataChoice()
public ComboDataChoice(ComboDataChoice other)
other - The other data choice.
public ComboDataChoice(String name,
List categories,
Hashtable props)
name - The short name of this choice.data - The data
public ComboDataChoice(String id,
String name,
Hashtable props,
Data data)
| Method Detail |
|---|
public DataChoice cloneMe()
cloneMe in class DataChoicepublic void setData(Data data)
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 Data getData()
public 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 | |||||||||