Package ucar.unidata.view.sounding
Class AerologicalDisplay.TemperatureAxisLabels
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.TemperatureAxisLabels
- Direct Known Subclasses:
AerologicalDisplay.LowerTemperatureAxisLabels
,AerologicalDisplay.UpperTemperatureAxisLabels
- Enclosing class:
AerologicalDisplay
Provides support for labels on the temperature 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
TemperatureAxisLabels
(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 coordinate system changeprotected final void
set
(AerologicalCoordinateSystem coordinateSystem, Real yValue, ContourLevels contourLevels, Real pressure, double separation) Sets the labels.void
Set the new CoordinateSystemMethods 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
-
TemperatureAxisLabels
Constructs from a name for the displayable.- Parameters:
name
- The name for the displayable.- Throws:
VisADException
- VisAD failure.RemoteException
- Java RMI failure.
-
TemperatureAxisLabels
protected TemperatureAxisLabels(AerologicalDisplay.TemperatureAxisLabels 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 final void set(AerologicalCoordinateSystem coordinateSystem, Real yValue, ContourLevels contourLevels, Real pressure, double separation) throws RemoteException, VisADException Sets the labels.- Parameters:
coordinateSystem
- The (p,T) invalid input: '<'-> (x,y) coordinate system transformation.yValue
- The y-value for the labels.contourLevels
- The temperature values.pressure
- The type of the pressure.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 CoordinateSystem- Parameters:
acs
- new CoordinateSystem- Throws:
RemoteException
- Java RMI problemVisADException
- VisAD problem
-
coordinateSystemChange
protected void coordinateSystemChange(AerologicalCoordinateSystem coordinateSystem) throws VisADException, RemoteException Handle a coordinate system change- Parameters:
coordinateSystem
- new CoordinateSystem- Throws:
RemoteException
- Java RMI problemVisADException
- VisAD problem
-