public class AerologicalDisplay extends DisplayMaster implements AerologicalDisplayConstants
| Modifier and Type | Class and Description |
|---|---|
protected class |
AerologicalDisplay.DisplayablePseudoAdiabaticTrajectory
Provides support for displaying the trajectory of a lifted parcel.
|
protected static class |
AerologicalDisplay.LeftPressureAxisLabels
Provides support for the left pressure-axis labels.
|
protected static class |
AerologicalDisplay.LowerTemperatureAxisLabels
Provides support for the lower temperature labels.
|
protected class |
AerologicalDisplay.MyWetTemperatureCalculator
Provides support for calculating the saturated portion of a lifted
parcel's trajectory.
|
protected class |
AerologicalDisplay.MyWetTemperatureCalculatorFactory
Provides support for creating calculators of the saturated portion of a
lifted parcel's trajectory.
|
protected class |
AerologicalDisplay.MyWindStaff
Internal class for displaying a wind staff
|
protected static class |
AerologicalDisplay.PressureAxisLabels
Provides support for labels for the pressure axis.
|
protected static class |
AerologicalDisplay.RightPressureAxisLabels
Provides support for the left pressure-axis labels.
|
protected static class |
AerologicalDisplay.TemperatureAxisLabels
Provides support for labels on the temperature axis.
|
protected static class |
AerologicalDisplay.UpperTemperatureAxisLabels
Provides support for the lower temperature labels.
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ACTIVE_SOUNDING
The name of the active sounding property.
|
static java.lang.String |
ACTIVE_WIND_PROFILE
The name of the active wind profile property.
|
static java.lang.String |
CAPE
The name of the CAPE property.
|
static java.lang.String |
CURSOR_PRESSURE
The name of the VisAD-cursor pressure property.
|
static java.lang.String |
CURSOR_TEMPERATURE
The name of the VisAD-cursor temperature property.
|
static java.lang.String |
POINTER_PRESSURE
The name of the mouse-pointer pressure property.
|
static java.lang.String |
POINTER_TEMPERATURE
The name of the mouse-pointer temperature property.
|
static java.lang.String |
PROFILE_DEW_POINT
The name of the profile dew-point property.
|
static java.lang.String |
PROFILE_TEMPERATURE
The name of the profile temperature property.
|
static java.lang.String |
PROFILE_WIND_DIRECTION
The name of the profile wind direction property.
|
static java.lang.String |
PROFILE_WIND_SPEED
The name of the profile wind speed property.
|
behavior, defaultMouseFunctions, log_, POINT_MODEEMAGRAM_DISPLAY, HODOGRAPH_DISPLAY, SKEWT_DISPLAY, STUVE_DISPLAY| Modifier | Constructor and Description |
|---|---|
|
AerologicalDisplay(AerologicalCoordinateSystem acs)
Create a new AerologicalDisplay and use the coordinate system
for all transforms
|
|
AerologicalDisplay(AerologicalCoordinateSystem acs,
java.awt.GraphicsConfiguration gc)
Create a new AerologicalDisplay and use the coordinate system
for all transforms
|
protected |
AerologicalDisplay(visad.DisplayImpl display,
int initialCapacity,
visad.DisplayRealType displayPressureType,
visad.DisplayRealType displayTemperatureType,
AerologicalCoordinateSystem coordinateSystem)
Constructs.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addProfile(visad.Field temperature,
visad.Field dewPoint)
Adds a temperature and dew-point sounding to the display.
|
void |
addProfile(visad.Field temperature,
visad.Field dewPoint,
visad.Field windProfile)
Adds a temperature, dew-point, and wind sounding to the display.
|
void |
addProfile(int index,
visad.Field temperature,
visad.Field dewPoint,
visad.Field windProfile)
Adds a temperature, dew-point and wind sounding to the display.
|
void |
clearProfiles()
Removes all soundings from the display.
|
void |
clearPseudoAdiabaticTrajectory()
Clears the pseudo-adiabatic-trajectory property.
|
protected void |
coordinateSystemChange(AerologicalCoordinateSystem acs)
Handle a change to the coordinate system.
|
Sounding |
getActiveSounding()
Get the active sounding.
|
int |
getBarbOrientation()
Get the barb orientation being used (NH or SH style).
|
int |
getBarbScale()
Get the barb scaling
|
AerologicalCoordinateSystem |
getCoordinateSystem()
Gets the (p,T) <-> (x,y) coordinate system transformation associated
with this display.
|
visad.Real |
getCursorPressure()
Gets the VisAD-cursor pressure property.
|
visad.Real |
getCursorTemperature()
Gets the cursor temperature property.
|
boolean |
getDryAdiabatVisibility()
Get the visibility of the background dry adiabats.
|
static AerologicalDisplay |
getInstance(AerologicalCoordinateSystem acs,
java.awt.GraphicsConfiguration gc)
Create a new AerologicalDisplay with the specified CoordinateSystem
|
static AerologicalDisplay |
getInstance(java.lang.String type)
Create a new AerologicalDisplay of the given type
|
static AerologicalDisplay |
getInstance(java.lang.String type,
java.awt.GraphicsConfiguration gc)
Create a new AerologicalDisplay of the given type
|
boolean |
getIsoBarsVisibility()
_more_
|
visad.Real |
getMaximumPressure()
Returns the maximum pressure of this display.
|
visad.Real |
getMaximumTemperature()
Returns the maximum temperature of this display.
|
visad.Real |
getMinimumPressure()
Returns the minimum pressure of this display.
|
visad.Real |
getMinimumTemperature()
Returns the minimum temperature of this display.
|
visad.Real |
getPointerPressure()
Gets the mouse-pointer pressure property.
|
visad.Real |
getPointerTemperature()
Gets the pointer temperature property.
|
visad.Real |
getProfileDewPoint()
Gets the profile dew-point property.
|
visad.Real |
getProfileTemperature()
Gets the profile temperature property.
|
visad.Real |
getProfileWindDirection()
Gets the profile wind direction property.
|
visad.Real |
getProfileWindSpeed()
Gets the profile wind speed property.
|
boolean |
getSaturationAdiabatVisibility()
Get the visibility of the background saturation adiabats.
|
boolean |
getSaturationMixingRatioVisibility()
Get the visibility of the background saturation adiabats.
|
boolean |
getWindStaffVisibility()
Get the visibility of the wind barb staff
|
protected void |
initializeClass()
Initialize the class
|
boolean |
isPseudoAdiabaticTrajectoryEnabled()
Gets the pseudo-adiabatic-trajectory-on property.
|
boolean |
isPseudoAdiabaticTrajectoryVisible()
Returns the visibility of the pseudoadiabatic trajectory.
|
int |
profileCount()
Returns the number of profiles in the display.
|
void |
removeProfile(int index)
Removes a given sounding from the display.
|
void |
removeProfiles()
Removes all soundings from the display.
|
void |
setActiveSounding(int index)
Sets the "active" sounding.
|
void |
setBackgroundLineColor(java.awt.Color color)
Set the background line colors
|
void |
setBarbOrientation(int orient)
Set the barb orientation.
|
void |
setBarbScale(int size)
Set the barb scaling.
|
void |
setConstrainProfiles(boolean yes)
Sets the constrainProfiles property.
|
void |
setCoordinateSystem(AerologicalCoordinateSystem acs)
Sets the (p,T) <-> (x,y) coordinate system transformation associated
with this display.
|
void |
setCoordinateSystem(java.lang.String type)
Set the CoordinateSystem for this display to the default for
the type.
|
void |
setCursorPressure(visad.Real pressure)
Sets the VisAD-cursor pressure property.
|
protected void |
setCursorTemperature(visad.Real temperature)
Sets the VisAD-cursor temperature property.
|
protected void |
setDisplayScalarMaps()
Set up the DisplayScalarMaps for this display.
|
void |
setDryAdiabatVisibility(boolean on)
Sets the visibility of the background dry adiabats.
|
void |
setForeground(java.awt.Color color)
Sets the "foreground" color of this VisAD display
|
void |
setIsobarsVisibility(boolean on)
_more_
|
void |
setLabelColor(java.awt.Color color)
Set the label color
|
void |
setOriginalProfiles(int index)
Resets the original sounding in the specified sounding.
|
void |
setPointerPressure(visad.Real pressure)
Sets the mouse-pointer pressure property.
|
protected void |
setPointerTemperature(visad.Real temperature)
Sets the mouse-pointer temperature property.
|
void |
setProfilesVisibility(boolean visible,
int index)
Sets the visibility of last two soundings.
|
void |
setProfileVisible(int index,
boolean visible)
Sets the visibility of a given sounding.
|
void |
setPseudoAdiabaticTrajectoryEnabled(boolean enable)
Sets the pseudo-adiabatic-trajectory-on property.
|
void |
setPseudoAdiabaticTrajectoryVisible(boolean visible)
Sets the visibility of the pseudoadiabatic trajectory.
|
void |
setSaturationAdiabatVisibility(boolean on)
Sets the visibility of the background saturation adiabats.
|
void |
setSaturationMixingRatioVisibility(boolean on)
Sets the visibility of the background saturation adiabats.
|
void |
setWindColor(java.awt.Color color)
Set the wind flag color
|
void |
setWindLevels(visad.Gridded1DSet levels)
Set the levels of the wind profile to display.
|
void |
setWindStaffVisibility(boolean on)
Sets the visibility of the wind barb staff.
|
addDisplayable, addDisplayListener, addKeyboardBehavior, addPropertyChangeListener, addPropertyChangeListener, addScalarMap, addScalarMaps, addVetoableChangeListener, addVetoableChangeListener, buildAnimationSet, dataChange, destroy, draw, ensureInactive, equals, finalize, firePropertyChange, firePropertyChange, getAnimationSetFromDisplayables, getAnimationStringVisible, getBackground, getComponent, getDestroyed, getDisplay, getDisplayableCount, getDisplayables, getDisplayables, getDisplayAspect, getDisplayComponent, getDisplayScale, getForeground, getImage, getMouseBehavior, getMouseFunctionMap, getOffscreenDimension, getProjectionMatrix, getRotation, getSavedProjectionMatrix, getScale, getScreenBounds, getStereoAvailable, getWaitMessageVisible, handleMouseWheelMoved, hashCode, indexOf, init, is3D, isActive, isPointMode, printMatrix, printMe, rebuild, rebuildDisplay, reDisplayAll, removeDisplayable, removeDisplayables, removePropertyChangeListener, removePropertyChangeListener, removeScalarMap, removeScalarMaps, removeVetoableChangeListener, removeVetoableChangeListener, replaceScalarMap, reScale, resetMouseFunctions, resetProjection, rotate, rotateX, rotateY, rotateZ, saveCurrentDisplay, saveCurrentDisplay, saveCurrentDisplay, saveProjection, setActive, setAnimation, setAnimationStringVisible, setBackground, setDefaultMouseFunctions, setDisplayables, setDisplayables, setDisplayActive, setDisplayAspect, setDisplayInactive, setEyePosition, setKeyboardBehavior, setKeyboardEventMap, setKeyboardEventMap, setMouseFunctions, setOffscreenDimension, setPointMode, setProjectionMatrix, setRebuildNecessary, setWaitMessageVisible, setWheelEventMap, translate, zoom, zoompublic static final java.lang.String CURSOR_PRESSURE
public static final java.lang.String POINTER_PRESSURE
public static final java.lang.String CURSOR_TEMPERATURE
public static final java.lang.String POINTER_TEMPERATURE
public static final java.lang.String ACTIVE_SOUNDING
public static final java.lang.String ACTIVE_WIND_PROFILE
public static final java.lang.String PROFILE_TEMPERATURE
public static final java.lang.String PROFILE_DEW_POINT
public static final java.lang.String PROFILE_WIND_SPEED
public static final java.lang.String PROFILE_WIND_DIRECTION
public static final java.lang.String CAPE
protected AerologicalDisplay(visad.DisplayImpl display,
int initialCapacity,
visad.DisplayRealType displayPressureType,
visad.DisplayRealType displayTemperatureType,
AerologicalCoordinateSystem coordinateSystem)
throws visad.VisADException,
java.rmi.RemoteException
true.display - The VisAD display.initialCapacity - The anticipated number of displayables.displayPressureType - The display pressure type.displayTemperatureType - The display temperature type.coordinateSystem - The (p,T) <-> (x,y) transformation.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public AerologicalDisplay(AerologicalCoordinateSystem acs) throws visad.VisADException, java.rmi.RemoteException
acs - AerologicalCoordinateSystem for transformsvisad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public AerologicalDisplay(AerologicalCoordinateSystem acs, java.awt.GraphicsConfiguration gc) throws visad.VisADException, java.rmi.RemoteException
acs - AerologicalCoordinateSystem for transformsgc - GraphicsConfigurationvisad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.protected void initializeClass()
throws visad.VisADException,
java.rmi.RemoteException
visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.protected void setDisplayScalarMaps()
throws visad.VisADException,
java.rmi.RemoteException
java.rmi.RemoteException - Java RMI exceptionvisad.VisADException - VisAD problempublic AerologicalCoordinateSystem getCoordinateSystem()
public void setCoordinateSystem(java.lang.String type)
throws visad.VisADException,
java.rmi.RemoteException
type - type of display (from AerologicalDisplayConstantsvisad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public void setCoordinateSystem(AerologicalCoordinateSystem acs) throws visad.VisADException, java.rmi.RemoteException
acs - the new (p,T) <-> (x,y) coordinate system transformation
associated with this displayjava.rmi.RemoteException - Java RMI Exceptionvisad.VisADException - problem creating VisAD objectprotected void coordinateSystemChange(AerologicalCoordinateSystem acs) throws visad.VisADException, java.rmi.RemoteException
acs - the new (p,T) <-> (x,y) coordinate system transformation
associated with this displayjava.rmi.RemoteException - Java RMI Exceptionvisad.VisADException - problem creating VisAD objectpublic void addProfile(visad.Field temperature,
visad.Field dewPoint)
throws visad.VisADException,
java.rmi.RemoteException
temperature - The temperature sounding. Must be Pressure ->
Temperature.dewPoint - The dew-point sounding. Must be Pressure ->
DewPoint.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public void addProfile(visad.Field temperature,
visad.Field dewPoint,
visad.Field windProfile)
throws visad.VisADException,
java.rmi.RemoteException
temperature - The temperature sounding. Must be Pressure ->
Temperature.dewPoint - The dew-point sounding. Must be Pressure ->
DewPoint.windProfile - The wind profile. Must be Pressure -> Windvisad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public void addProfile(int index,
visad.Field temperature,
visad.Field dewPoint,
visad.Field windProfile)
throws visad.VisADException,
java.rmi.RemoteException
index - The index of the sounding.temperature - The temperature sounding. Must be Pressure ->
Temperature.dewPoint - The dew-point sounding. Must be Pressure ->
DewPoint.windProfile - The wind profile. Must be Pressure -> Windvisad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public int profileCount()
public void removeProfiles()
throws visad.VisADException,
java.rmi.RemoteException
visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public void removeProfile(int index)
throws visad.VisADException,
java.rmi.RemoteException
index - The index of the sounding.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public void setProfileVisible(int index,
boolean visible)
throws visad.VisADException,
java.rmi.RemoteException
index - The sounding index.visible - Whether or not the sounding should be visible.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public void setProfilesVisibility(boolean visible,
int index)
throws visad.VisADException,
java.rmi.RemoteException
visible - Whether or not the sounding should be visible.index - _more_visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public void setActiveSounding(int index)
throws visad.VisADException,
java.rmi.RemoteException
index - The index of the "active" sounding. A value of
-1 means that there is no active sounding.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public void setOriginalProfiles(int index)
throws visad.VisADException,
java.rmi.RemoteException
index - The index of the sounding.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public void clearProfiles()
throws visad.VisADException,
java.rmi.RemoteException
visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public void setConstrainProfiles(boolean yes)
throws visad.VisADException,
java.rmi.RemoteException
yes - Whether or not to constrain temperatures
to be equal to or greater than
corresponding dew-points.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public final void setCursorPressure(visad.Real pressure)
throws visad.UnitException,
visad.VisADException,
java.rmi.RemoteException
pressure - The pressure at the VisAD cursor.visad.UnitException - Inappropriate pressure unit.visad.VisADException - if a core VisAD failure occurs.java.rmi.RemoteException - if a Java RMI failure occurs.public final void setPointerPressure(visad.Real pressure)
throws visad.UnitException,
visad.VisADException,
java.rmi.RemoteException
pressure - The pressure at the mouse pointer.visad.UnitException - Inappropriate pressure unit.visad.VisADException - if a core VisAD failure occurs.java.rmi.RemoteException - if a Java RMI failure occurs.public visad.Real getCursorPressure()
null.public visad.Real getPointerPressure()
null.protected final void setCursorTemperature(visad.Real temperature)
throws visad.UnitException,
visad.VisADException,
java.rmi.RemoteException
temperature - The cursor temperature.visad.UnitException - Inappropriate unit.visad.VisADException - if a core VisAD failure occurs.java.rmi.RemoteException - if a Java RMI failure occurs.protected final void setPointerTemperature(visad.Real temperature)
throws visad.UnitException,
visad.VisADException,
java.rmi.RemoteException
temperature - The pointer temperature.visad.UnitException - Inappropriate unit.visad.VisADException - if a core VisAD failure occurs.java.rmi.RemoteException - if a Java RMI failure occurs.public visad.Real getCursorTemperature()
null.public visad.Real getPointerTemperature()
null.public visad.Real getProfileTemperature()
null.public visad.Real getProfileDewPoint()
null.public visad.Real getProfileWindSpeed()
null.public visad.Real getProfileWindDirection()
null.public void setPseudoAdiabaticTrajectoryEnabled(boolean enable)
throws visad.VisADException,
java.rmi.RemoteException
enable - Whether or not showing of the pseudo adiabatic
trajectory is enabled.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.setActiveSounding(int)public boolean isPseudoAdiabaticTrajectoryEnabled()
public void setPseudoAdiabaticTrajectoryVisible(boolean visible)
throws visad.VisADException,
java.rmi.RemoteException
visible - If and only if true, then the
trajectory will be visible if it exists.visad.VisADException - if a VisAD failure occurs.java.rmi.RemoteException - if a Java RMI failure occurs.public boolean isPseudoAdiabaticTrajectoryVisible()
public void clearPseudoAdiabaticTrajectory()
throws visad.VisADException,
java.rmi.RemoteException
visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public visad.Real getMinimumPressure()
public visad.Real getMaximumPressure()
public visad.Real getMinimumTemperature()
public visad.Real getMaximumTemperature()
public void setDryAdiabatVisibility(boolean on)
throws visad.VisADException,
java.rmi.RemoteException
on - Whether the background dry adiabats should be
visible.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public void setIsobarsVisibility(boolean on)
throws visad.VisADException,
java.rmi.RemoteException
on - _more_java.rmi.RemoteException - _more_visad.VisADException - _more_public boolean getDryAdiabatVisibility()
public boolean getIsoBarsVisibility()
public void setSaturationAdiabatVisibility(boolean on)
throws visad.VisADException,
java.rmi.RemoteException
on - Whether the background saturation adiabats
should be visible.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public boolean getSaturationAdiabatVisibility()
public void setWindStaffVisibility(boolean on)
throws visad.VisADException,
java.rmi.RemoteException
on - Whether the wind barb staff
should be visible.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public boolean getWindStaffVisibility()
public void setWindLevels(visad.Gridded1DSet levels)
throws visad.VisADException,
java.rmi.RemoteException
levels - the set of levels (if null, display all);visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public void setSaturationMixingRatioVisibility(boolean on)
throws visad.VisADException,
java.rmi.RemoteException
on - Whether the background saturation adiabats
should be visible.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public boolean getSaturationMixingRatioVisibility()
public void setBarbOrientation(int orient)
orient - orientation.public int getBarbOrientation()
public void setBarbScale(int size)
size - scaling of barbs (2 = default);public int getBarbScale()
public static AerologicalDisplay getInstance(java.lang.String type) throws visad.VisADException, java.rmi.RemoteException
type - type of display (from AerologicalDisplayConstantsvisad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public static AerologicalDisplay getInstance(java.lang.String type, java.awt.GraphicsConfiguration gc) throws visad.VisADException, java.rmi.RemoteException
type - type of display (from AerologicalDisplayConstantsgc - GraphicsConfigurationvisad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public static AerologicalDisplay getInstance(AerologicalCoordinateSystem acs, java.awt.GraphicsConfiguration gc) throws visad.VisADException, java.rmi.RemoteException
acs - AerologcialCoordinateSystemgc - The GraphicsConfiguration for the displayvisad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public Sounding getActiveSounding()
public void setForeground(java.awt.Color color)
setForeground in class DisplayMastercolor - color to usepublic void setLabelColor(java.awt.Color color)
color - label colorpublic void setWindColor(java.awt.Color color)
color - the colorpublic void setBackgroundLineColor(java.awt.Color color)
color - the color