ucar.unidata.view.sounding
Class AerologicalDisplay.PressureAxisLabels

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.PressureAxisLabels
Direct Known Subclasses:
AerologicalDisplay.LeftPressureAxisLabels, AerologicalDisplay.RightPressureAxisLabels
Enclosing class:
AerologicalDisplay

protected abstract static class AerologicalDisplay.PressureAxisLabels
extends ScaleLabels

Provides support for labels for the pressure 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.PressureAxisLabels(AerologicalDisplay.PressureAxisLabels that)
          Constructs from another instance.
protected AerologicalDisplay.PressureAxisLabels(String name)
          Constructs from a name for the displayable.
 
Method Summary
protected  void coordinateSystemChange(AerologicalCoordinateSystem coordinateSystem)
          Handle a change to the (p,T) <-> (x,y) coordinate system transformation associated with this display
protected  void set(AerologicalCoordinateSystem coordinateSystem, Real xValue, ContourLevels contourLevels, Real temperature, double separation)
          Sets the labels.
 void setCoordinateSystem(AerologicalCoordinateSystem acs)
          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, 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.PressureAxisLabels

protected AerologicalDisplay.PressureAxisLabels(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.PressureAxisLabels

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

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) <-> (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) <-> (x,y) coordinate system transformation associated with this display
Throws:
RemoteException - Java RMI Exception
VisADException - problem creating VisAD object

coordinateSystemChange

protected void coordinateSystemChange(AerologicalCoordinateSystem coordinateSystem)
                               throws VisADException,
                                      RemoteException
Handle a change to the (p,T) <-> (x,y) coordinate system transformation associated with this display

Parameters:
coordinateSystem - the new CoordinateSystem
Throws:
RemoteException - Java RMI Exception
VisADException - problem creating VisAD object