|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.collab.SharableImpl
ucar.unidata.idv.ViewManager
ucar.unidata.idv.SoundingViewManager
public class SoundingViewManager
A wrapper around a sounding display (AerologicalDisplay) like a Skew-T Provides an interface for managing user interactions, gui creation, etc.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class ucar.unidata.idv.ViewManager |
|---|
ViewManager.MatrixCommand |
| Field Summary | |
|---|---|
static String |
PREF_PREFIX
Prefix for preferences |
| Fields inherited from interface ucar.unidata.view.sounding.AerologicalDisplayConstants |
|---|
EMAGRAM_DISPLAY, SKEWT_DISPLAY, STUVE_DISPLAY |
| Constructor Summary | |
|---|---|
SoundingViewManager()
A paramterless ctor for XmlEncoder based decoding. |
|
SoundingViewManager(ViewContext viewContext,
DisplayMaster master,
ViewDescriptor viewDescriptor,
String properties)
Create a SoundingViewManager with the given context, display, descriptor, properties string |
|
SoundingViewManager(ViewContext viewContext,
ViewDescriptor desc,
String properties)
Create a SoundingViewManager with the given context, descriptor, object store and properties string. |
|
SoundingViewManager(ViewContext viewContext,
ViewDescriptor desc,
String properties,
AnimationInfo animationInfo)
Create a SoundingViewManager with the given context, descriptor, object store, properties string and animation state |
|
| Method Summary | |
|---|---|
protected void |
addPropertiesComponents(JTabbedPane tabbedPane)
Add a JTabbedPane to the properties component |
boolean |
animationOk()
Do we support animation? |
boolean |
applyProperties()
Apply the properties |
protected DisplayMaster |
doMakeDisplayMaster()
Factory method for creating the display master |
String |
getChartType()
Get the chart type. |
boolean |
getDryAdiabatVisibility()
Get the dry adiabat visibility |
boolean |
getSaturationAdiabatVisibility()
Get the saturated adiabat visibility |
boolean |
getSaturationMixingRatioVisibility()
Get the saturation mixing ratio visibility |
boolean |
getShowSideLegend()
Don't show the side legend |
static String |
getTypeLabel(String chartType)
Get the label for the type of display |
String |
getTypeName()
What type of view is this |
void |
initializeViewMenu(JMenu viewMenu)
Initialize the view menu |
void |
setChartType(String value)
Set the chart type. |
void |
setDryAdiabatVisibility(boolean value)
Set the dry adiabat visibility |
void |
setSaturationAdiabatVisibility(boolean value)
Set the saturated adiabat visibility |
void |
setSaturationMixingRatioVisibility(boolean value)
Set the saturation mixing ratio visibility |
void |
setSoundingDisplay(AerologicalDisplay ad)
Set the sounding display |
| Methods inherited from class ucar.unidata.collab.SharableImpl |
|---|
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getSharablePropertiesComponent, getShareGroup, getSharing, initSharable, receiveShareData, removeSharable, setShareGroup, setSharing, setUniqueId, showSharableDialog |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String PREF_PREFIX
| Constructor Detail |
|---|
public SoundingViewManager()
public SoundingViewManager(ViewContext viewContext,
ViewDescriptor desc,
String properties)
throws VisADException,
RemoteException
viewContext - Provides a context for the VM to be in.desc - The ViewDescriptor that identifies this VMproperties - A set of ";" delimited name-value pairs.
RemoteException
VisADException
public SoundingViewManager(ViewContext viewContext,
ViewDescriptor desc,
String properties,
AnimationInfo animationInfo)
throws VisADException,
RemoteException
viewContext - Provides a context for the VM to be in.desc - The ViewDescriptor that identifies this VMproperties - A set of ";" delimited name-value pairs.animationInfo - Initial animation properties
RemoteException
VisADException
public SoundingViewManager(ViewContext viewContext,
DisplayMaster master,
ViewDescriptor viewDescriptor,
String properties)
throws VisADException,
RemoteException
viewContext - Provides a context for the VM to be in.master - display masterviewDescriptor - The ViewDescriptor that identifies this VMproperties - A set of ";" delimited name-value pairs.
RemoteException
VisADException| Method Detail |
|---|
public void initializeViewMenu(JMenu viewMenu)
initializeViewMenu in class ViewManagerviewMenu - the view menu
protected DisplayMaster doMakeDisplayMaster()
throws VisADException,
RemoteException
doMakeDisplayMaster in class ViewManagerRemoteException - On badness
VisADException - On badnesspublic void setSoundingDisplay(AerologicalDisplay ad)
ad - the sounding displaypublic boolean getShowSideLegend()
getShowSideLegend in class ViewManagerpublic String getTypeName()
getTypeName in class ViewManagerpublic boolean animationOk()
animationOk in class ViewManagerprotected void addPropertiesComponents(JTabbedPane tabbedPane)
addPropertiesComponents in class ViewManagertabbedPane - the pane to addpublic boolean applyProperties()
applyProperties in class ViewManagerpublic static String getTypeLabel(String chartType)
chartType - type name
public String getChartType()
public void setChartType(String value)
value - chart typepublic boolean getSaturationAdiabatVisibility()
public void setSaturationAdiabatVisibility(boolean value)
value - true if visiablepublic boolean getDryAdiabatVisibility()
public void setDryAdiabatVisibility(boolean value)
value - true if visiablepublic boolean getSaturationMixingRatioVisibility()
public void setSaturationMixingRatioVisibility(boolean value)
value - true if visiable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||