Package ucar.visad.display
Class XSDisplay
java.lang.Object
ucar.visad.display.DisplayMaster
ucar.visad.display.XYDisplay
ucar.visad.display.XSDisplay
- Direct Known Subclasses:
VerticalXSDisplay
A VisAD display for cross sections of data fields.
- Version:
- $Revision: 1.4 $
- Author:
- Don Murray
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The name of the x position property.static final String
The name of the y position property.Fields inherited from class ucar.visad.display.DisplayMaster
behavior, defaultMouseFunctions, log_, POINT_MODE
-
Constructor Summary
ConstructorsConstructorDescriptionDefault cstr with yAxisType of RealType.YAxis, xAxisType of RealType.XAxis.Default cstr with yAxisType of RealType.YAxis, xAxisType of RealType.XAxis.Default cstr with yAxisType of RealType.Altitude, xAxisType of RealType.XAxis.Default cstr with yAxisType of RealType.Altitude, xAxisType of RealType.XAxis. -
Method Summary
Modifier and TypeMethodDescriptionGets the cursor x position property.Gets the cursor altitude property.protected void
setCursorXValue
(Real xvalue) Sets the cursor x position property.protected void
setCursorYValue
(Real yxalue) Sets the cursor x value property.Methods inherited from class ucar.visad.display.XYDisplay
autoScaleXAxis, autoScaleYAxis, enableClipping, getGridLinesVisible, getName, getXAxisScale, getXAxisType, getXDisplayUnit, getYAxisScale, getYAxisType, getYDisplayUnit, setAspect, setAxisTypes, setGridLinesVisible, setName, setXAxisType, setXDisplayUnit, 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, 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_YVALUE
The name of the y position property.- See Also:
-
CURSOR_XVALUE
The name of the x position property.- See Also:
-
-
Constructor Details
-
XSDisplay
Default cstr with yAxisType of RealType.YAxis, xAxisType of RealType.XAxis.- Throws:
RemoteException
VisADException
-
XSDisplay
Default cstr with yAxisType of RealType.YAxis, xAxisType of RealType.XAxis.- Parameters:
offScreen
- Is offscreendimension
- Size of display. May be null.- Throws:
RemoteException
VisADException
-
XSDisplay
public XSDisplay(String name, RealType xType, RealType yType) throws VisADException, RemoteException Default cstr with yAxisType of RealType.Altitude, xAxisType of RealType.XAxis.- Parameters:
name
- name for this displayxType
- RealType for the X axisyType
- RealType for the Y axis- Throws:
RemoteException
- Java RMI errorVisADException
- VisAD error
-
XSDisplay
public XSDisplay(String name, RealType xType, RealType yType, boolean offScreen, Dimension dimension) throws VisADException, RemoteException Default cstr with yAxisType of RealType.Altitude, xAxisType of RealType.XAxis.- Parameters:
name
- name for this displayxType
- RealType for the X axisyType
- RealType for the Y axisoffScreen
- Is offscreendimension
- Size of display. May be null.- Throws:
RemoteException
- Java RMI errorVisADException
- VisAD error
-
-
Method Details
-
setCursorYValue
Sets the cursor x value property. Called by subclasses.- Parameters:
yxalue
- The cursor y value.- Throws:
RemoteException
- Java RMI errorVisADException
- VisAD error
-
getCursorYValue
Gets the cursor altitude property.- Returns:
- The currently-selected altitude. May be
null
.
-
setCursorXValue
Sets the cursor x position property. Called by subclasses.- Parameters:
xvalue
- The cursor x position.- Throws:
RemoteException
- Java RMI errorVisADException
- VisAD error
-
getCursorXValue
Gets the cursor x position property.- Returns:
- The currently-selected x value. May be
null
.
-