public abstract class DataController
extends java.lang.Object
| Constructor and Description |
|---|
DataController(ucar.unidata.view.sounding.DataModel database)
Constructs from a database.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public DataController(ucar.unidata.view.sounding.DataModel database)
database - The data model (i.e. database).protected void addDataDisplayables(int index0,
int index1)
throws visad.VisADException,
java.rmi.RemoteException
index0 - The first index of the interval, inclusive.index1 - The last index of the interval, inclusive.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.protected void removeDataDisplayables(int index0,
int index1)
throws visad.VisADException,
java.rmi.RemoteException
index0 - One index of the interval, inclusive.index1 - The other index of the interval, inclusive.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.protected void setVisibility()
throws visad.VisADException,
java.rmi.RemoteException
visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.protected abstract void selectedIndexChange(int index)
throws visad.VisADException,
java.rmi.RemoteException
index - The index of the selected sounding. A value of
-1 means that there is no selected sounding.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.protected abstract void addDataDisplayable(int index)
throws visad.VisADException,
java.rmi.RemoteException
index - The index of the datum.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.protected abstract void removeAllDataDisplayables()
throws visad.VisADException,
java.rmi.RemoteException
visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.protected abstract void removeDataDisplayable(int index)
throws visad.VisADException,
java.rmi.RemoteException
index - The index of the displayed datum.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.protected abstract void setVisibility(int index,
boolean visible)
throws visad.VisADException,
java.rmi.RemoteException
index - The index of the displayed datum.visible - Whether or not the datum should be visible.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.