public class AerologicalController extends DataController
| Constructor and Description |
|---|
AerologicalController(ucar.unidata.view.sounding.SoundingDataModel database,
AerologicalDisplay display)
Constructs from an aerological database and aerological display.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addDataDisplayable(int index)
Adds a given sounding to the display.
|
protected void |
removeAllDataDisplayables()
Removes all displayed data from the view.
|
protected void |
removeDataDisplayable(int index)
Removes a given displayed datum from the view.
|
protected void |
selectedIndexChange(int index)
Handles a change to the index of the selected sounding.
|
protected void |
setVisibility(int index,
boolean visible)
Sets the visibility of a given displayed datum.
|
addDataDisplayables, removeDataDisplayables, setVisibilitypublic AerologicalController(ucar.unidata.view.sounding.SoundingDataModel database,
AerologicalDisplay display)
database - The aerological database.display - The aerological display.protected void selectedIndexChange(int index)
throws visad.VisADException,
java.rmi.RemoteException
selectedIndexChange in class DataControllerindex - The index of the selected sounding. A values of
-1 means that there is no selected sounding.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.protected void addDataDisplayable(int index)
throws visad.VisADException,
java.rmi.RemoteException
addDataDisplayable in class DataControllerindex - The index of the sounding.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.protected void removeAllDataDisplayables()
throws visad.VisADException,
java.rmi.RemoteException
removeAllDataDisplayables in class DataControllervisad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.protected void removeDataDisplayable(int index)
throws java.lang.IndexOutOfBoundsException,
visad.VisADException,
java.rmi.RemoteException
removeDataDisplayable in class DataControllerindex - The index of the displayed datum.java.lang.IndexOutOfBoundsException - The index is out of range.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.protected void setVisibility(int index,
boolean visible)
throws visad.VisADException,
java.rmi.RemoteException
setVisibility in class DataControllerindex - 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.