Package ucar.unidata.view.sounding
Class AerologicalController
java.lang.Object
ucar.unidata.view.sounding.DataController
ucar.unidata.view.sounding.AerologicalController
Provides support for mediating interactions between a (mutable) aerological
 sounding database and views of the data in an aerological display.
- Version:
 - $Id: AerologicalController.java,v 1.10 2005/05/13 18:33:21 jeffmc Exp $
 - Author:
 - Steven R. Emmerson
 
- 
Constructor Summary
ConstructorsConstructorDescriptionAerologicalController(ucar.unidata.view.sounding.SoundingDataModel database, AerologicalDisplay display) Constructs from an aerological database and aerological display. - 
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddDataDisplayable(int index) Adds a given sounding to the display.protected voidRemoves all displayed data from the view.protected voidremoveDataDisplayable(int index) Removes a given displayed datum from the view.protected voidselectedIndexChange(int index) Handles a change to the index of the selected sounding.protected voidsetVisibility(int index, boolean visible) Sets the visibility of a given displayed datum.Methods inherited from class ucar.unidata.view.sounding.DataController
addDataDisplayables, removeDataDisplayables, setVisibility 
- 
Constructor Details
- 
AerologicalController
public AerologicalController(ucar.unidata.view.sounding.SoundingDataModel database, AerologicalDisplay display) Constructs from an aerological database and aerological display.- Parameters:
 database- The aerological database.display- The aerological display.
 
 - 
 - 
Method Details
- 
selectedIndexChange
Handles a change to the index of the selected sounding.- Specified by:
 selectedIndexChangein classDataController- Parameters:
 index- The index of the selected sounding. A values of -1 means that there is no selected sounding.- Throws:
 VisADException- VisAD failure.RemoteException- Java RMI failure.
 - 
addDataDisplayable
Adds a given sounding to the display.- Specified by:
 addDataDisplayablein classDataController- Parameters:
 index- The index of the sounding.- Throws:
 VisADException- VisAD failure.RemoteException- Java RMI failure.
 - 
removeAllDataDisplayables
Removes all displayed data from the view.- Specified by:
 removeAllDataDisplayablesin classDataController- Throws:
 VisADException- VisAD failure.RemoteException- Java RMI failure.
 - 
removeDataDisplayable
protected void removeDataDisplayable(int index) throws IndexOutOfBoundsException, VisADException, RemoteException Removes a given displayed datum from the view.- Specified by:
 removeDataDisplayablein classDataController- Parameters:
 index- The index of the displayed datum.- Throws:
 IndexOutOfBoundsException- The index is out of range.VisADException- VisAD failure.RemoteException- Java RMI failure.
 - 
setVisibility
Sets the visibility of a given displayed datum.- Specified by:
 setVisibilityin classDataController- Parameters:
 index- The index of the displayed datum.visible- Whether or not the datum should be visible.- Throws:
 VisADException- VisAD failure.RemoteException- Java RMI failure.
 
 -