Package ucar.unidata.view.sounding
Class AerologicalDisplay.DisplayablePseudoAdiabaticTrajectory
java.lang.Object
ucar.visad.display.Displayable
ucar.visad.display.CompositeDisplayable
ucar.unidata.view.sounding.AerologicalDisplay.DisplayablePseudoAdiabaticTrajectory
- Enclosing class:
AerologicalDisplay
protected class AerologicalDisplay.DisplayablePseudoAdiabaticTrajectory
extends CompositeDisplayable
Provides support for displaying the trajectory of a lifted parcel.
-
Field Summary
Fields inherited from class ucar.visad.display.CompositeDisplayable
cnt, labelFields inherited from class ucar.visad.display.Displayable
DISPLAY, parent, SCALAR_MAP_SET -
Constructor Summary
ConstructorsConstructorDescriptionDisplayablePseudoAdiabaticTrajectory(LocalDisplay display, DisplayRealType displayPressureType, DisplayRealType displayTemperatureType) Constructs from a VisAD display and the display types. -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Clears this displayable.Returns the type of the pressure.Returns the type of the temperature.booleanIndicates whether or not computation of the trajectory is enabled.voidComputes the trajectory of the lifted parcel.voidsetEnabled(boolean enable) Enable or disable computation of the trajectory.Methods inherited from class ucar.visad.display.CompositeDisplayable
addConstantMap, addDisplayable, addListDataListener, clearDisplayables, cloneForDisplay, debug, destroy, destroyAll, displayableCount, fireListDataContentsChanged, fireListDataIntervalAdded, fireListDataIntervalRemoved, getAnimationSet, getDisplayable, indexOf, iterator, lastDisplayable, myAddDataReferences, myRemoveDataReferences, removeDisplayable, removeDisplayable, removeListDataListener, setAdjustFlow, setColor, setColorPalette, setColorUnit, setConstantPosition, setDisplay, setDisplayable, setDisplayMaster, setDisplayUnit, setLineWidth, setManipulable, setPointMode, setPointSize, setSelectedRange, setUseFastRendering, setUseTimesInAnimation, setVisible, setVisible, setVisible, toFront, toStringMethods inherited from class ucar.visad.display.Displayable
addConstantMaps, addDataReferences, addPropertyChangeListener, addPropertyChangeListener, addRefsInvoked, addScalarMap, addScalarMaps, applyColorUnit, applyDisplayUnit, checkUnit, combineConstantMaps, destroyDisplayable, firePropertyChange, firePropertyChange, fireScalarMapSetChange, getColorUnit, getConstantMaps, getData, getDestroyed, getDisplay, getDisplayMaster, getDisplayUnit, getPointMode, getScalarMap, getScalarMap, getScalarMap, getScalarMapSet, getUseFastRendering, getUseTimesInAnimation, getVisible, hasDataObject, isActive, isUnitCompatible, isVisible, logException, myAddConstantMaps, removeConstantMap, removeDataReferences, removePropertyChangeListener, removePropertyChangeListener, removeScalarMap, replaceScalarMap, setColorPalette, setContourInfo, setDisplayActive, setDisplayInactive, setOverrideAnimationSet, setOverrideAnimationSet, setParent, setRangeForColor, setRangeForColor, setScalarMapSet, setSelectedRange
-
Constructor Details
-
DisplayablePseudoAdiabaticTrajectory
public DisplayablePseudoAdiabaticTrajectory(LocalDisplay display, DisplayRealType displayPressureType, DisplayRealType displayTemperatureType) throws VisADException, RemoteException Constructs from a VisAD display and the display types.- Parameters:
display- The VisAD display.displayPressureType- The display pressure type.displayTemperatureType- The display temperature type.- Throws:
VisADException- VisAD failure.RemoteException- Java RMI failure.
-
-
Method Details
-
setEnabled
Enable or disable computation of the trajectory.- Parameters:
enable- Whether or not to enable computation of the trajectory.- Throws:
VisADException- VisAD failure.RemoteException- Java RMI failure.
-
isEnabled
public boolean isEnabled()Indicates whether or not computation of the trajectory is enabled.- Returns:
trueif and only if computation of the trajectory is enabled.
-
getPressureType
Returns the type of the pressure.- Returns:
- The type of the pressure.
-
getTemperatureType
Returns the type of the temperature.- Returns:
- The type of the temperature.
-
clear
Clears this displayable.- Throws:
VisADException- VisAD failure.RemoteException- Java RMI failure.
-
recompute
Computes the trajectory of the lifted parcel.- Throws:
TypeException- Something has the wrong type.VisADException- VisAD failure.RemoteException- Java RMI failure.
-