ucar.unidata.data
Class UnboundDataChoice

java.lang.Object
  extended by ucar.unidata.data.DataChoice
      extended by ucar.unidata.data.UnboundDataChoice

public class UnboundDataChoice
extends DataChoice

Represents a DataChoice in a formula that is unbound.

Version:
$Revision: 1.25 $
Author:
Metapps development team

Field Summary
protected  String label
          label for his
 
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
UnboundDataChoice()
          Default constructor; does nothing
UnboundDataChoice(String label)
          Create a new UnboundDataChoice.
UnboundDataChoice(UnboundDataChoice other)
          Copy constructor for creating one from another
 
Method Summary
 void addDataChangeListener(DataChangeListener listener)
          Add a DataChangeListener.
 DataChoice cloneMe()
          Create a clone of this.
protected  Data getData(DataCategory category, DataSelection dataSelection, Hashtable requestProperties)
          A no-op
 String getLabel()
          Get the label for this.
 void removeDataChangeListener(DataChangeListener listener)
          Remove a DataChangeListener.
 String toString()
          Return a String representation of this UnboundDataChoice.
 
Methods inherited from class ucar.unidata.data.DataChoice
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

label

protected String label
label for his

Constructor Detail

UnboundDataChoice

public UnboundDataChoice()
Default constructor; does nothing


UnboundDataChoice

public UnboundDataChoice(UnboundDataChoice other)
Copy constructor for creating one from another

Parameters:
other - the other

UnboundDataChoice

public UnboundDataChoice(String label)
Create a new UnboundDataChoice.

Parameters:
label - the label for this
Method Detail

cloneMe

public DataChoice cloneMe()
Create a clone of this. Calls the copy constructor

Specified by:
cloneMe in class DataChoice
Returns:
A new UnboundDataChoice, just like me!

getLabel

public String getLabel()
Get the label for this.

Returns:
the label

toString

public String toString()
Return a String representation of this UnboundDataChoice.

Overrides:
toString in class DataChoice
Returns:
String representation of this UnboundDataChoice

getData

protected Data getData(DataCategory category,
                       DataSelection dataSelection,
                       Hashtable requestProperties)
                throws VisADException,
                       RemoteException
A no-op

Specified by:
getData in class DataChoice
Parameters:
category - The data category of the request.
dataSelection - Identifies any subsetting of the data.
requestProperties - Hashtable that holds any detailed request properties.
Returns:
null
Throws:
RemoteException - Java RMI problem
VisADException - VisAD problem

addDataChangeListener

public void addDataChangeListener(DataChangeListener listener)
Add a DataChangeListener. Does nothing

Specified by:
addDataChangeListener in class DataChoice
Parameters:
listener - listener to add

removeDataChangeListener

public void removeDataChangeListener(DataChangeListener listener)
Remove a DataChangeListener. Does nothing.

Specified by:
removeDataChangeListener in class DataChoice
Parameters:
listener - listener to remove