Class VerticalXSDisplay


public class VerticalXSDisplay extends XSDisplay
A VisAD display for 2D vertical cross sections of 3D data fields.
Author:
Don Murray
  • Field Details

  • Constructor Details

    • VerticalXSDisplay

      public VerticalXSDisplay() throws VisADException, RemoteException
      Default cstr with yAxisType of RealType.Altitude, xAxisType of RealType.XAxis.
      Throws:
      VisADException - the VisAD exception
      RemoteException - 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 mode
      dimension - the offscreen dimension. may be null
      Throws:
      VisADException - the VisAD exception
      RemoteException - the remote exception
  • Method Details

    • setCursorAltitude

      protected void setCursorAltitude(Real altitude) throws VisADException, RemoteException
      Sets the cursor altitude property. Called by subclasses.
      Parameters:
      altitude - The cursor altitude.
      Throws:
      VisADException - the VisAD exception
      RemoteException - the remote exception
    • 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
    • setYDisplayUnit

      public void setYDisplayUnit(Unit newUnit)
      Set the units of displayed values on the Y axis
      Overrides:
      setYDisplayUnit in class XYDisplay
      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.