|
||||||||||
| 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.UrlDataChoice
public class UrlDataChoice
A DataChoice for a URL
| 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 | |
|---|---|
UrlDataChoice()
Default Constructor; does nothing |
|
UrlDataChoice(String url)
Create a UrlDataChoice from the URL |
|
UrlDataChoice(String url,
String desc)
Create a UrlDataChoice. |
|
UrlDataChoice(UrlDataChoice other)
Create a UrlDataChoice from another. |
|
| Method Summary | |
|---|---|
void |
addDataChangeListener(DataChangeListener listener)
Add the data change listener. |
DataChoice |
cloneMe()
Override superclass method for creating a clone. |
boolean |
equals(Object o)
See if the object in question is equal to this UrlDataChoice. |
protected Data |
getData(DataCategory category,
DataSelection dataSelection,
Hashtable requestProperties)
Implementation of the getData method. |
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(String value)
Set the URL for this choice. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UrlDataChoice()
public UrlDataChoice(String url)
url - URL for this choice
public UrlDataChoice(String url,
String desc)
url - URL (choice ID)desc - DataChoice descriptionpublic UrlDataChoice(UrlDataChoice other)
other - other UrlDataChoice| Method Detail |
|---|
public DataChoice cloneMe()
cloneMe in class DataChoicepublic void setUrl(String value)
value - URL for choicepublic String getUrl()
protected Data getData(DataCategory category,
DataSelection dataSelection,
Hashtable requestProperties)
throws VisADException,
RemoteException,
DataCancelException
getData in class DataChoicecategory - the data categorydataSelection - the selection propertiesrequestProperties - special request properties
DataCancelException - if the request was canceled
RemoteException - Java RMI problem
VisADException - problem creating the Data objectpublic int hashCode()
hashCode in class DataChoicepublic boolean equals(Object o)
equals in class DataChoiceo - Object in question
public void addDataChangeListener(DataChangeListener listener)
addDataChangeListener in class DataChoicelistener - listener to addpublic void removeDataChangeListener(DataChangeListener listener)
removeDataChangeListener in class DataChoicelistener - listener to remove
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||