Package ucar.unidata.view.sounding
Class AerologicalDisplay.PressureAxisLabels
java.lang.Object
ucar.visad.display.Displayable
ucar.visad.display.DisplayableData
ucar.visad.display.LineDrawing
ucar.unidata.view.sounding.ScaleLabels
ucar.unidata.view.sounding.AerologicalDisplay.PressureAxisLabels
- Direct Known Subclasses:
AerologicalDisplay.LeftPressureAxisLabels
,AerologicalDisplay.RightPressureAxisLabels
- Enclosing class:
AerologicalDisplay
Provides support for labels for the pressure axis.
-
Nested Class Summary
Nested classes/interfaces inherited from class ucar.visad.display.DisplayableData
DisplayableData.DragAdapter
-
Field Summary
Fields inherited from class ucar.visad.display.LineDrawing
COLOR, LINE_STYLE, LINE_WIDTH, POINT_SIZE
Fields inherited from class ucar.visad.display.DisplayableData
MANIPULABLE, renderer, VISIBLE
Fields inherited from class ucar.visad.display.Displayable
DISPLAY, parent, SCALAR_MAP_SET
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
PressureAxisLabels
(String name) Constructs from a name for the displayable.protected
Constructs from another instance. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
coordinateSystemChange
(AerologicalCoordinateSystem coordinateSystem) Handle a change to the (p,T) invalid input: '<'-> (x,y) coordinate system transformation associated with this displayprotected void
set
(AerologicalCoordinateSystem coordinateSystem, Real xValue, ContourLevels contourLevels, Real temperature, double separation) Sets the labels.void
Set the new coordinate system.Methods inherited from class ucar.unidata.view.sounding.ScaleLabels
setFormat, setLabels, setLabelValues, setPositionValues, setRealType, setSize, setXAlignment
Methods inherited from class ucar.visad.display.LineDrawing
getColor, getLineStyle, getLineWidth, getPointSize, setColor, setHSV, setHSV, setLineStyle, setLineWidth, setPointSize, setRGB, setRGB, setRGBA, setRGBA
Methods inherited from class ucar.visad.display.DisplayableData
addAction, cloneForDisplay, dataChange, destroy, getActive, getAnimationSet, getData, getDataRenderer, getName, hasData, hasDataObject, isManipulable, isPickable, myAddConstantMaps, myAddDataReferences, myRemoveDataReferences, removeAction, setActive, setData, setDataReference, setDragAdapter, setManipulable, setPickable, setPointMode, setUseFastRendering, setVisible, showme, toString
Methods inherited from class ucar.visad.display.Displayable
addConstantMap, addConstantMaps, addDataReferences, addPropertyChangeListener, addPropertyChangeListener, addRefsInvoked, addScalarMap, addScalarMaps, applyColorUnit, applyDisplayUnit, checkUnit, combineConstantMaps, destroyDisplayable, firePropertyChange, firePropertyChange, fireScalarMapSetChange, getColorUnit, getConstantMaps, getDestroyed, getDisplay, getDisplayMaster, getDisplayUnit, getPointMode, getScalarMap, getScalarMap, getScalarMap, getScalarMapSet, getUseFastRendering, getUseTimesInAnimation, getVisible, isActive, isUnitCompatible, isVisible, logException, removeConstantMap, removeDataReferences, removePropertyChangeListener, removePropertyChangeListener, removeScalarMap, replaceScalarMap, setAdjustFlow, setColorPalette, setColorPalette, setColorUnit, setConstantPosition, setContourInfo, setDisplay, setDisplayActive, setDisplayInactive, setDisplayMaster, setDisplayUnit, setOverrideAnimationSet, setOverrideAnimationSet, setParent, setRangeForColor, setRangeForColor, setScalarMapSet, setSelectedRange, setSelectedRange, setUseTimesInAnimation, toFront
-
Constructor Details
-
PressureAxisLabels
Constructs from a name for the displayable.- Parameters:
name
- The name for the displayable.- Throws:
VisADException
- VisAD failure.RemoteException
- Java RMI failure.
-
PressureAxisLabels
protected PressureAxisLabels(AerologicalDisplay.PressureAxisLabels that) throws RemoteException, VisADException Constructs from another instance.- Parameters:
that
- The other instance.- Throws:
VisADException
- if a core VisAD failure occurs.RemoteException
- if a Java RMI failure occurs.
-
-
Method Details
-
set
protected void set(AerologicalCoordinateSystem coordinateSystem, Real xValue, ContourLevels contourLevels, Real temperature, double separation) throws RemoteException, VisADException Sets the labels.- Parameters:
coordinateSystem
- The (p,T) invalid input: '<'-> (x,y) coordinate system transformation.xValue
- The x-value for the labels.contourLevels
- The pressure values.temperature
- The type of the temperature.separation
- The distance between the label and the axis.- Throws:
VisADException
- VisAD failure.RemoteException
- Java RMI failure.
-
setCoordinateSystem
public void setCoordinateSystem(AerologicalCoordinateSystem acs) throws VisADException, RemoteException Set the new coordinate system.- Parameters:
acs
- the new (p,T) invalid input: '<'-> (x,y) coordinate system transformation associated with this display- Throws:
RemoteException
- Java RMI ExceptionVisADException
- problem creating VisAD object
-
coordinateSystemChange
protected void coordinateSystemChange(AerologicalCoordinateSystem coordinateSystem) throws VisADException, RemoteException Handle a change to the (p,T) invalid input: '<'-> (x,y) coordinate system transformation associated with this display- Parameters:
coordinateSystem
- the new CoordinateSystem- Throws:
RemoteException
- Java RMI ExceptionVisADException
- problem creating VisAD object
-