public class UrlDataChoice extends DataChoice
description, id, name, NULL_DATASELECTION, NULL_PROPERTIES, NULL_REQUESTPROPERTIES, parent, PROP_ICON, PROP_REQUESTER, properties
Constructor and Description |
---|
UrlDataChoice()
Default Constructor; does nothing
|
UrlDataChoice(java.lang.String url)
Create a UrlDataChoice from the URL
|
UrlDataChoice(java.lang.String url,
java.lang.String desc)
Create a UrlDataChoice.
|
UrlDataChoice(UrlDataChoice other)
Create a UrlDataChoice from another.
|
Modifier and Type | Method and Description |
---|---|
void |
addDataChangeListener(DataChangeListener listener)
Add the data change listener.
|
DataChoice |
cloneMe()
Override superclass method for creating a clone.
|
boolean |
equals(java.lang.Object o)
See if the object in question is equal to this UrlDataChoice.
|
protected visad.Data |
getData(DataCategory category,
DataSelection dataSelection,
java.util.Hashtable requestProperties)
Implementation of the getData method.
|
java.lang.String |
getUrl()
Get the URL for this choice.
|
int |
hashCode()
Return the hash code for this UrlDataChoice.
|
void |
removeDataChangeListener(DataChangeListener listener)
Remove the data change listener.
|
void |
setUrl(java.lang.String value)
Set the URL for this choice.
|
addCategory, addCurrentName, addParamNameToCategories, basicallyEquals, cloneDataChoices, createClone, 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, initAfterUnPersistence, isEndUserFormula, mergeRequestProperties, setCategories, setDataCategories, setDataSelection, setDescription, setFixedRequestProperties, setId, setLevelSelection, setName, setObjectProperty, setParent, setProperties, setProperty, setProperty, setTimeSelection, toString
public UrlDataChoice()
public UrlDataChoice(java.lang.String url)
url
- URL for this choicepublic UrlDataChoice(java.lang.String url, java.lang.String desc)
url
- URL (choice ID)desc
- DataChoice descriptionpublic UrlDataChoice(UrlDataChoice other)
other
- other UrlDataChoicepublic DataChoice cloneMe()
cloneMe
in class DataChoice
public void setUrl(java.lang.String value)
value
- URL for choicepublic java.lang.String getUrl()
protected visad.Data getData(DataCategory category, DataSelection dataSelection, java.util.Hashtable requestProperties) throws visad.VisADException, java.rmi.RemoteException, DataCancelException
getData
in class DataChoice
category
- the data categorydataSelection
- the selection propertiesrequestProperties
- special request propertiesDataCancelException
- if the request was canceledjava.rmi.RemoteException
- Java RMI problemvisad.VisADException
- problem creating the Data objectpublic int hashCode()
hashCode
in class DataChoice
public boolean equals(java.lang.Object o)
equals
in class DataChoice
o
- Object in questionpublic void addDataChangeListener(DataChangeListener listener)
addDataChangeListener
in class DataChoice
listener
- listener to addpublic void removeDataChangeListener(DataChangeListener listener)
removeDataChangeListener
in class DataChoice
listener
- listener to remove