Package ucar.unidata.idv
Class VerticalXSDisplay
java.lang.Object
ucar.visad.display.DisplayMaster
ucar.visad.display.XYDisplay
ucar.visad.display.XSDisplay
ucar.unidata.idv.VerticalXSDisplay
A VisAD display for 2D vertical cross sections of 3D data fields.
- Author:
- Don Murray
-
Field Summary
FieldsFields inherited from class ucar.visad.display.XSDisplay
CURSOR_XVALUE, CURSOR_YVALUEFields inherited from class ucar.visad.display.DisplayMaster
behavior, defaultMouseFunctions, log_, POINT_MODE -
Constructor Summary
ConstructorsConstructorDescriptionDefault cstr with yAxisType of RealType.Altitude, xAxisType of RealType.XAxis.VerticalXSDisplay(boolean offScreen, Dimension dimension) Default cstr with yAxisType of RealType.Altitude, xAxisType of RealType.XAxis. -
Method Summary
Modifier and TypeMethodDescriptionGets the cursor altitude property.protected voidsetCursorAltitude(Real altitude) Sets the cursor altitude property.voidSet the title on the XAxis.voidsetXDisplayUnit(Unit newUnit) Set the units of displayed values on the X axisvoidSet the title on the YAxis.voidsetYDisplayUnit(Unit newUnit) Set the units of displayed values on the Y axisMethods inherited from class ucar.visad.display.XSDisplay
getCursorXValue, getCursorYValue, setCursorXValue, setCursorYValueMethods 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, setYRange, showAxisScalesMethods inherited from class ucar.visad.display.DisplayMaster
addDisplayable, addDisplayListener, addKeyboardBehavior, addPropertyChangeListener, addPropertyChangeListener, addScalarMap, addScalarMaps, addVetoableChangeListener, addVetoableChangeListener, buildAnimationSet, dataChange, destroy, draw, ensureInactive, equals, firePropertyChange, firePropertyChange, getAnimationSetFromDisplayables, getAnimationStringVisible, getBackground, getComponent, getDestroyed, getDisplay, getDisplayableCount, getDisplayables, getDisplayables, getDisplayAspect, getDisplayComponent, getDisplayScale, getForeground, getImage, getMouseBehavior, getMouseFunctionMap, getOffscreenDimension, getProjectionMatrix, getRotation, getSavedProjectionMatrix, getScale, 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, resetClipDistance, 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
-
Field Details
-
CURSOR_ALTITUDE
The name of the altitude property.- See Also:
-
-
Constructor Details
-
VerticalXSDisplay
Default cstr with yAxisType of RealType.Altitude, xAxisType of RealType.XAxis.- Throws:
VisADException- the VisAD exceptionRemoteException- the remote exception
-
VerticalXSDisplay
public VerticalXSDisplay(boolean offScreen, Dimension dimension) throws VisADException, RemoteException Default cstr with yAxisType of RealType.Altitude, xAxisType of RealType.XAxis.- Parameters:
offScreen- are we in offscreen modedimension- the offscreen dimension. may be null- Throws:
VisADException- the VisAD exceptionRemoteException- the remote exception
-
-
Method Details
-
setCursorAltitude
Sets the cursor altitude property. Called by subclasses.- Parameters:
altitude- The cursor altitude.- Throws:
VisADException- the VisAD exceptionRemoteException- the remote exception
-
getCursorAltitude
Gets the cursor altitude property.- Returns:
- The currently-selected altitude. May be
null.
-
setXDisplayUnit
Set the units of displayed values on the X axis- Overrides:
setXDisplayUnitin classXYDisplay- Parameters:
newUnit- units to use
-
setYDisplayUnit
Set the units of displayed values on the Y axis- Overrides:
setYDisplayUnitin classXYDisplay- Parameters:
newUnit- units to use
-
setXAxisTitle
public void setXAxisTitle()Set the title on the XAxis. -
setYAxisTitle
public void setYAxisTitle()Set the title on the YAxis.
-