|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.collab.SharableImpl
ucar.unidata.data.DataSourceImpl
ucar.unidata.data.ListDataSource
public class ListDataSource
This simply holds a list of DataChoices It is used, for example, to represent a collection of end-user defined formulas (i.e., DerivedDataChoice)
| Field Summary |
|---|
| Fields inherited from class ucar.unidata.data.DataSourceImpl |
|---|
changeDataPathsCbx, dataCacheKey, dataChoices, geoSelectionPanel, haveBeenUnPersisted, okToContinue, PARAM_SHOW_HIDE, PARAM_SHOW_NO, PARAM_SHOW_YES |
| Fields inherited from interface ucar.unidata.data.DataSource |
|---|
DATAPATH_DATE_FORMAT, DATAPATH_DATE_PATTERN, MOST_RECENT, ordinalNames, PROP_AUTOCREATEDISPLAY, PROP_BASEDIRECTORY, PROP_CACHEABLE, PROP_DATACHOICENAME, PROP_DISPLAYPROPERTIES, PROP_DOCUMENTLINKS, PROP_FILEPATTERN, PROP_GEOLOCATION, PROP_ICON, PROP_NAME, PROP_POLLINFO, PROP_RESOLVERURL, PROP_SERVICE_HTTP, PROP_SUBPROPERTIES, PROP_TIMELABELS, PROP_TITLE |
| Constructor Summary | |
|---|---|
ListDataSource()
Default bean constructor; does nothing |
|
ListDataSource(String name,
String description)
Create a ListDataSource |
|
| Method Summary | |
|---|---|
void |
addDataChoice(DataChoice choice)
Add a DataChoice. |
boolean |
contains(DataChoice choice)
See if this contains the choice in question. |
DataChoice |
get(int i)
Get the DataChoice at index i |
List |
getDataChoices()
Get the DataChoices. |
protected Data |
getDataInner(DataChoice dataChoice,
DataCategory category,
DataSelection dataSelection,
Hashtable requestProperties)
This should never get called. |
void |
removeDataChoice(DataChoice choice)
Remove a DataChoice from the list. |
void |
setDataChoices(List l)
Set the list of DataChoices |
int |
size()
Return the number of choices in this data source |
| Methods inherited from class ucar.unidata.collab.SharableImpl |
|---|
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, receiveShareData, removeSharable, setReceiveShareTime, setShareGroup, setSharing, setUniqueId, showSharableDialog |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface ucar.unidata.data.DataSource |
|---|
getUniqueId |
| Constructor Detail |
|---|
public ListDataSource()
public ListDataSource(String name,
String description)
name - name of this DataSourcedescription - long name| Method Detail |
|---|
protected Data getDataInner(DataChoice dataChoice,
DataCategory category,
DataSelection dataSelection,
Hashtable requestProperties)
throws VisADException,
RemoteException
getDataInner in class DataSourceImpldataChoice - The data choice that identifies the requested
data.category - The data category of the request.dataSelection - Identifies any subsetting of the data.requestProperties - Hashtable that holds any detailed request
properties.
RemoteException - Java RMI problem
VisADException - VisAD problempublic List getDataChoices()
getDataChoices in interface DataSourcegetDataChoices in class DataSourceImplpublic void setDataChoices(List l)
l - list of DataChoicespublic void addDataChoice(DataChoice choice)
addDataChoice in class DataSourceImplchoice - choice to addpublic void removeDataChoice(DataChoice choice)
removeDataChoice in class DataSourceImplchoice - Choice to removepublic boolean contains(DataChoice choice)
choice - choice to look for
public DataChoice get(int i)
i - index
ipublic int size()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||