ucar.unidata.idv
Class VerticalXSDisplay

java.lang.Object
  extended by ucar.visad.display.DisplayMaster
      extended by ucar.visad.display.XYDisplay
          extended by ucar.visad.display.XSDisplay
              extended by ucar.unidata.idv.VerticalXSDisplay

public class VerticalXSDisplay
extends XSDisplay

A VisAD display for 2D vertical cross sections of 3D data fields.

Author:
Don Murray

Field Summary
static String CURSOR_ALTITUDE
          The name of the altitude property.
 
Fields inherited from class ucar.visad.display.XSDisplay
CURSOR_XVALUE, CURSOR_YVALUE
 
Fields inherited from class ucar.visad.display.DisplayMaster
behavior, defaultMouseFunctions, log_, POINT_MODE
 
Constructor Summary
VerticalXSDisplay()
          Default cstr with yAxisType of RealType.Altitude, xAxisType of RealType.XAxis.
 
Method Summary
 Real getCursorAltitude()
          Gets the cursor altitude property.
protected  void setCursorAltitude(Real altitude)
          Sets the cursor altitude property.
 void setXAxisTitle()
          Set the title on the XAxis.
 void setXDisplayUnit(Unit newUnit)
          Set the units of displayed values on the X axis
 
Methods inherited from class ucar.visad.display.XSDisplay
getCursorXValue, getCursorYValue, setCursorXValue, setCursorYValue
 
Methods inherited from class ucar.visad.display.XYDisplay
autoScaleXAxis, autoScaleYAxis, enableClipping, getGridLinesVisible, getName, getXAxisScale, getXAxisType, getXDisplayUnit, getYAxisScale, getYAxisType, getYDisplayUnit, setAspect, setAxisTypes, setGridLinesVisible, setName, setXAxisType, setXRange, setYAxisType, setYDisplayUnit, setYRange, showAxisScales
 
Methods inherited from class ucar.visad.display.DisplayMaster
addDisplayable, addDisplayListener, addKeyboardBehavior, addPropertyChangeListener, addPropertyChangeListener, addScalarMap, addScalarMaps, addVetoableChangeListener, addVetoableChangeListener, buildAnimationSet, dataChange, destroy, draw, ensureInactive, equals, finalize, firePropertyChange, firePropertyChange, getAnimationSetFromDisplayables, getAnimationStringVisible, getBackground, getComponent, getDisplay, getDisplayableCount, getDisplayables, getDisplayables, getDisplayAspect, getDisplayComponent, getForeground, getImage, getMouseBehavior, getOffscreenDimension, getProjectionMatrix, getSavedProjectionMatrix, getScreenBounds, getStereoAvailable, getWaitMessageVisible, handleMouseWheelMoved, hashCode, indexOf, init, is3D, isActive, isPointMode, printMatrix, printMe, rebuild, rebuildDisplay, reDisplayAll, removeDisplayable, removeDisplayables, removePropertyChangeListener, removePropertyChangeListener, removeScalarMap, removeScalarMaps, removeVetoableChangeListener, removeVetoableChangeListener, replaceScalarMap, reScale, resetMouseFunctions, resetProjection, rotate, rotateX, rotateY, rotateZ, saveCurrentDisplay, saveCurrentDisplay, saveCurrentDisplay, saveProjection, setActive, setAnimation, setAnimationStringVisible, setBackground, setDefaultMouseFunctions, setDisplayables, setDisplayables, setDisplayActive, setDisplayAspect, setDisplayInactive, setEyePosition, setForeground, setKeyboardBehavior, setKeyboardEventMap, setKeyboardEventMap, setMouseFunctions, setOffscreenDimension, setPointMode, setProjectionMatrix, setRebuildNecessary, setWaitMessageVisible, setWheelEventMap, translate, zoom, zoom
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CURSOR_ALTITUDE

public static final String CURSOR_ALTITUDE
The name of the altitude property.

See Also:
Constant Field Values
Constructor Detail

VerticalXSDisplay

public VerticalXSDisplay()
                  throws VisADException,
                         RemoteException
Default cstr with yAxisType of RealType.Altitude, xAxisType of RealType.XAxis.

Throws:
RemoteException
VisADException
Method Detail

setCursorAltitude

protected void setCursorAltitude(Real altitude)
                          throws VisADException,
                                 RemoteException
Sets the cursor altitude property. Called by subclasses.

Parameters:
altitude - The cursor altitude.
Throws:
RemoteException
VisADException

getCursorAltitude

public Real getCursorAltitude()
Gets the cursor altitude property.

Returns:
The currently-selected altitude. May be null.

setXDisplayUnit

public void setXDisplayUnit(Unit newUnit)
Set the units of displayed values on the X axis

Overrides:
setXDisplayUnit in class XYDisplay
Parameters:
newUnit - units to use

setXAxisTitle

public void setXAxisTitle()
Set the title on the XAxis.