ucar.unidata.view.sounding
Class AerologicalDisplay.TemperatureAxisLabels

java.lang.Object
  extended by ucar.visad.display.Displayable
      extended by ucar.visad.display.DisplayableData
          extended by ucar.visad.display.LineDrawing
              extended by ucar.unidata.view.sounding.ScaleLabels
                  extended by ucar.unidata.view.sounding.AerologicalDisplay.TemperatureAxisLabels
Direct Known Subclasses:
AerologicalDisplay.LowerTemperatureAxisLabels, AerologicalDisplay.UpperTemperatureAxisLabels
Enclosing class:
AerologicalDisplay

protected abstract static class AerologicalDisplay.TemperatureAxisLabels
extends ScaleLabels

Provides support for labels on the temperature axis.


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, VISIBLE
 
Fields inherited from class ucar.visad.display.Displayable
DISPLAY, parent, SCALAR_MAP_SET
 
Constructor Summary
protected AerologicalDisplay.TemperatureAxisLabels(AerologicalDisplay.TemperatureAxisLabels that)
          Constructs from another instance.
protected AerologicalDisplay.TemperatureAxisLabels(String name)
          Constructs from a name for the displayable.
 
Method Summary
protected  void coordinateSystemChange(AerologicalCoordinateSystem coordinateSystem)
          Handle a coordinate system change
protected  void set(AerologicalCoordinateSystem coordinateSystem, Real yValue, ContourLevels contourLevels, Real pressure, double separation)
          Sets the labels.
 void setCoordinateSystem(AerologicalCoordinateSystem acs)
          Set the new CoordinateSystem
 
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, setManipulable, setPickable, setPointMode, setUseFastRendering, setVisible, toString
 
Methods inherited from class ucar.visad.display.Displayable
addConstantMap, addConstantMaps, addDataReferences, addPropertyChangeListener, addPropertyChangeListener, addRefsInvoked, addScalarMap, addScalarMaps, applyColorUnit, applyDisplayUnit, checkUnit, combineConstantMaps, firePropertyChange, firePropertyChange, fireScalarMapSetChange, getColorUnit, getConstantMaps, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AerologicalDisplay.TemperatureAxisLabels

protected AerologicalDisplay.TemperatureAxisLabels(String name)
                                            throws RemoteException,
                                                   VisADException
Constructs from a name for the displayable.

Parameters:
name - The name for the displayable.
Throws:
VisADException - VisAD failure.
RemoteException - Java RMI failure.

AerologicalDisplay.TemperatureAxisLabels

protected AerologicalDisplay.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 Detail

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) <-> (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 problem
VisADException - VisAD problem

coordinateSystemChange

protected void coordinateSystemChange(AerologicalCoordinateSystem coordinateSystem)
                               throws VisADException,
                                      RemoteException
Handle a coordinate system change

Parameters:
coordinateSystem - new CoordinateSystem
Throws:
RemoteException - Java RMI problem
VisADException - VisAD problem