|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.view.sounding.DataController
public abstract class DataController
Provides support for mediating interactions between a (mutable) sounding database and views of the database.
| Constructor Summary | |
|---|---|
DataController(ucar.unidata.view.sounding.DataModel database)
Constructs from a database. |
|
| Method Summary | |
|---|---|
protected abstract void |
addDataDisplayable(int index)
Adds a given datum to the view. |
protected void |
addDataDisplayables(int index0,
int index1)
Adds an interval of displayed data to the view. |
protected abstract void |
removeAllDataDisplayables()
Removes all displayed data from the view. |
protected abstract void |
removeDataDisplayable(int index)
Removes a given displayed datum from the view. |
protected void |
removeDataDisplayables(int index0,
int index1)
Removes an interval of displayed data from the view. |
protected abstract void |
selectedIndexChange(int index)
Handles a change to the index of the selected sounding. |
protected void |
setVisibility()
Sets the visiblity of the displayed data. |
protected abstract void |
setVisibility(int index,
boolean visible)
Sets the visibility of a given displayed datum. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataController(ucar.unidata.view.sounding.DataModel database)
database - The data model (i.e. database).| Method Detail |
|---|
protected void addDataDisplayables(int index0,
int index1)
throws VisADException,
RemoteException
index0 - The first index of the interval, inclusive.index1 - The last index of the interval, inclusive.
VisADException - VisAD failure.
RemoteException - Java RMI failure.
protected void removeDataDisplayables(int index0,
int index1)
throws VisADException,
RemoteException
index0 - One index of the interval, inclusive.index1 - The other index of the interval, inclusive.
VisADException - VisAD failure.
RemoteException - Java RMI failure.
protected void setVisibility()
throws VisADException,
RemoteException
VisADException - VisAD failure.
RemoteException - Java RMI failure.
protected abstract void selectedIndexChange(int index)
throws VisADException,
RemoteException
index - The index of the selected sounding. A value of
-1 means that there is no selected sounding.
VisADException - VisAD failure.
RemoteException - Java RMI failure.
protected abstract void addDataDisplayable(int index)
throws VisADException,
RemoteException
index - The index of the datum.
VisADException - VisAD failure.
RemoteException - Java RMI failure.
protected abstract void removeAllDataDisplayables()
throws VisADException,
RemoteException
VisADException - VisAD failure.
RemoteException - Java RMI failure.
protected abstract void removeDataDisplayable(int index)
throws VisADException,
RemoteException
index - The index of the displayed datum.
VisADException - VisAD failure.
RemoteException - Java RMI failure.
protected abstract void setVisibility(int index,
boolean visible)
throws VisADException,
RemoteException
index - The index of the displayed datum.visible - Whether or not the datum should be visible.
VisADException - VisAD failure.
RemoteException - Java RMI failure.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||