|
||||||||||
| 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.control.DisplayControlBase
ucar.unidata.idv.control.DisplayControlImpl
ucar.unidata.idv.control.AerologicalSoundingControl
public abstract class AerologicalSoundingControl
Abstract class for displaying an aerological Skew-T log p diagram of an atmospheric sounding.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class ucar.unidata.idv.control.DisplayControlImpl |
|---|
DisplayControlImpl.SideLegendLabel |
| Field Summary | |
|---|---|
protected AerologicalDisplay |
aeroDisplay
The Skew-T log p display. |
protected Hodograph3DDisplay |
hodoDisplay
The 3D hodograph display. |
protected SoundingViewManager |
soundingView
The view manager for this control |
| Fields inherited from class ucar.unidata.idv.control.DisplayControlImpl |
|---|
categories, colorScaleInfo, colorScales, contourInfo, contourInfoParams, controlContext, ctw, cw, dataSelection, defaultView, defaultViewManager, DISPLAY_LIST_NAME, displayListTable, displayMasters, displayUnit, helpUrl, initNoteText, instantiatedWithNoData, noteTextArea, noteWrapper, paramName, requestProperties, settingVisibility, sharables, showNoteText, skipSlider, srw, version, viewManagers |
| Fields inherited from interface ucar.unidata.view.sounding.AerologicalDisplayConstants |
|---|
EMAGRAM_DISPLAY, SKEWT_DISPLAY, STUVE_DISPLAY |
| Fields inherited from interface ucar.unidata.idv.DisplayControl |
|---|
BOTTOM_LEGEND, DEFAULT_PROBEFORMAT, PREF_PREFIX, PREF_PROBEFORMAT, PREF_REMOVEONWINDOWCLOSE, PREF_SAMPLING_MODE, PREF_STANDALONE_REMOVEONCLOSE, PREF_STANDALONE_REMOVEONCLOSE_ASK, PROP_LEGENDICON, SIDE_LEGEND |
| Method Summary | |
|---|---|
void |
addPropertiesComponents(JTabbedPane jtp)
Add tabs to the properties dialog. |
boolean |
doApplyProperties()
Apply the properties |
protected Container |
doMakeContents()
Creates the Skew-T display component. |
void |
doRemove()
Remove this control. |
String |
getDisplayType()
Get the type of display. |
protected void |
getEditMenuItems(List items,
boolean forMenuBar)
Add the relevant edit menu items into the list |
protected LatLonPoint |
getLocation()
Gets the location of the profile. |
ParcelMode |
getParcelMode()
Returns the mode that is used to determine the initial conditions of the lifted parcel. |
SoundingViewManager |
getSoundingView()
Get the SoundingView property. |
protected String |
getSpatialLociLabel()
Return the label used for the spatial loci checkbox. |
boolean |
getSpatialLociVisible()
Returns the visibility of the spatial loci in the main, 3D window. |
boolean |
getTrajectoryActive()
Indicates if this instance displays the path of a lifted parcel. |
static String |
getTypeLabel(String displayType)
Get the label for the type of display |
protected void |
getViewMenuItems(List menus,
boolean forMenuBar)
Add the relevant view menu items into the list |
boolean |
getVirtTempActive()
Indicates whether or not this instance is or will display virtual temperature paths. |
String |
getWindBarbSpacing()
Get the wind barb spacing as a String |
boolean |
isDisplayType(String type)
See if the display type in question is the same as this type. |
void |
propertyChange(PropertyChangeEvent event)
Handle property change |
void |
setDisplayType(String type)
Set the type of display. |
void |
setDisplayVisibility(boolean on)
Override base class method so we can control the visiblity of the grid points. |
void |
setParcelMode(ParcelMode mode)
Sets the mode used to determine the initial conditions of the lifted parcel. |
void |
setSoundingView(SoundingViewManager value)
Set the SoundingView property. |
protected void |
setSpatialLoci(Displayable loci)
Set the spatial location displayable |
void |
setSpatialLociVisible(boolean visible)
Sets the visibility of the spatial loci in the main, 3D window. |
void |
setTrajectoryActive(boolean active)
Sets whether or not this instance will display the path of a lifted parcel. |
void |
setVirtTempActive(boolean active)
Sets whether or not this instance will display virtual temperature paths. |
void |
setWindBarbSpacing(String newSpacing)
Set the wind barb spacing. |
protected String |
xxxgetTitle()
Returns the title of this display. |
| Methods inherited from class ucar.unidata.idv.control.DisplayControlBase |
|---|
boxToEarth, boxToEarth, boxToEarth, boxToEarth, boxToEarth, boxToScreen, calculateRectangle, createStationTfo, earthToBox, earthToBox, earthToBoxTuple, earthToScreen, formatLevels, getScreenCenter, getSelectedStation, isLeftButtonDown, logException, logException, makeEarthLocation, screenToBox, screenToBox, screenToEarth, setStations, setStations, toBox, toEarth, userErrorMessage, userMessage |
| Methods inherited from class ucar.unidata.collab.SharableImpl |
|---|
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, removeSharable, setShareGroup, setSharing, setUniqueId, showSharableDialog |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface ucar.unidata.collab.Sharable |
|---|
getShareGroup, getSharing, getUniqueId |
| Field Detail |
|---|
protected SoundingViewManager soundingView
protected AerologicalDisplay aeroDisplay
protected Hodograph3DDisplay hodoDisplay
| Method Detail |
|---|
public void propertyChange(PropertyChangeEvent event)
propertyChange in interface PropertyChangeListenerpropertyChange in class DisplayControlImplevent - The eventpublic void addPropertiesComponents(JTabbedPane jtp)
addPropertiesComponents in class DisplayControlImpljtp - the JTabbedPane to add topublic boolean doApplyProperties()
doApplyProperties in class DisplayControlImpl
public void doRemove()
throws VisADException,
RemoteException
doRemove in interface DisplayControldoRemove in class DisplayControlImplRemoteException - Java RMI error
VisADException - VisAD errorprotected void setSpatialLoci(Displayable loci)
loci - Displayable for spatial locations
public void setSpatialLociVisible(boolean visible)
throws VisADException,
RemoteException
visible - If true, then the loci will be rendered visible;
otherwise, they will be rendered invisible.
RemoteException - Java RMI error
VisADException - VisAD errorpublic void setDisplayVisibility(boolean on)
setDisplayVisibility in interface DisplayControlsetDisplayVisibility in class DisplayControlImplon - true to make it visiblepublic boolean getSpatialLociVisible()
protected final String xxxgetTitle()
Returns the title of this display.
public final boolean getTrajectoryActive()
public final void setTrajectoryActive(boolean active)
throws VisADException,
RemoteException
active - Whether or not to display the path.
VisADException - if a VisAD failure occurs.
RemoteException - if a Java RMI failure occurs.public final boolean getVirtTempActive()
public final void setVirtTempActive(boolean active)
throws VisADException,
RemoteException
active - Whether or not to display virtual
temperature paths.
VisADException - if a VisAD failure occurs.
RemoteException - if a Java RMI failure occurs.public final ParcelMode getParcelMode()
public final void setParcelMode(ParcelMode mode)
throws VisADException,
RemoteException
mode - The mode used to determine the initial
conditions of the lifted parcel.
VisADException - if a VisAD failure occurs.
RemoteException - if a Java RMI failure occurs.
protected Container doMakeContents()
throws VisADException,
RemoteException
doMakeContents in class DisplayControlImplVisADException - if a VisAD failure occurs.
RemoteException - if a Java RMI failure occurs.protected String getSpatialLociLabel()
protected final LatLonPoint getLocation()
protected void getEditMenuItems(List items,
boolean forMenuBar)
getEditMenuItems in class DisplayControlImplitems - List of menu itemsforMenuBar - Is this for the menu in the window's menu bar or
for a popup menu in the legend
protected void getViewMenuItems(List menus,
boolean forMenuBar)
getViewMenuItems in class DisplayControlImplmenus - List of menu itemsforMenuBar - Is this for the menu in the window's menu bar or
for a popup menu in the legendpublic boolean isDisplayType(String type)
type - display type
public void setDisplayType(String type)
type - the display typepublic String getDisplayType()
public String getWindBarbSpacing()
public void setWindBarbSpacing(String newSpacing)
newSpacing - either ALL_LEVELS or MANDATORY_LEVELS, or the value
as a String.public static String getTypeLabel(String displayType)
displayType - type name
public void setSoundingView(SoundingViewManager value)
value - The new value for SoundingViewpublic SoundingViewManager getSoundingView()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||