Class ColorRadarVolumeControl

All Implemented Interfaces:
ActionListener, ItemListener, PropertyChangeListener, EventListener, HyperlinkListener, Sharable, DataChangeListener, DisplayControl, Prototypable, ControlListener, DisplayListener

public class ColorRadarVolumeControl extends GridDisplayControl
Class to make controls and displays for WS-88D level II data showing all values for one parm from a full volume scan (one data file) as pixels in 3d space above the Earth.
Version:
$Revision: 1.27 $
Author:
IDV Development Team
  • Field Details

  • Constructor Details

    • ColorRadarVolumeControl

      public ColorRadarVolumeControl()
      Default constructor. Sets the appropriate attribute flags.
  • Method Details

    • createMainDisplay

      protected DisplayableData createMainDisplay() throws VisADException, RemoteException
      Create the DisplayableData that will be used to depict the data in the main display.
      Returns:
      depictor for data in main display
      Throws:
      VisADException - unable to create depictor
      RemoteException - unable to create depictor (shouldn't happen)
    • getGridDisplayable

      public GridDisplayable getGridDisplayable()
      Get the GridDisplayable used for setting the data.
      Returns:
      data's GridDisplayable
    • getMainDisplay

      public DisplayableData getMainDisplay()
      Get the DisplayableData used for depicting data in the main display.
      Returns:
      main display depictor
    • init

      public boolean init(DataChoice dataChoice) throws VisADException, RemoteException
      Basic constructor-like actions; returns false if setData fails
      Overrides:
      init in class DisplayControlImpl
      Parameters:
      dataChoice - data choice for selection
      Returns:
      true if successful
      Throws:
      RemoteException - Java RMI error
      VisADException - VisAD error
    • setLabelFromData

      public void setLabelFromData()
      Called after all initialization is finished. After init() and setData(). Loads the requested data in the display.
    • doMakeContents

      public Container doMakeContents()
      Used in making control window. Called by doMakeWindow in DisplayControlImpl, which then calls its doMakeMainButtonPanel(), which makes more buttons.
      Overrides:
      doMakeContents in class DisplayControlImpl
      Returns:
      UI contents
    • getControlWidgets

      public void getControlWidgets(List controlWidgets) throws VisADException, RemoteException
      Add any specialized control widgets for this control to the list.
      Overrides:
      getControlWidgets in class DisplayControlImpl
      Parameters:
      controlWidgets - List to add to.
      Throws:
      VisADException - unable to create controls
      RemoteException - unable to create controls (shouldn't happen)
    • setPointSize

      public void setPointSize(float value)
      _more_
      Overrides:
      setPointSize in class DisplayControlImpl
      Parameters:
      value - _more_
    • getRequestProperties

      protected Hashtable getRequestProperties()
      Get (and make if necessary) the requester Hastable of properties that is carried along with the data instance; this one tells Level2Adapter to call the getVolume method.
      Overrides:
      getRequestProperties in class DisplayControlImpl
      Returns:
      hashtable of properties
    • setRequestProperties

      protected void setRequestProperties()
      Make the requester Hastable of properties that is carried along with the data instance; this one tells Level2Adapter to call the getVolume method.
    • setData

      protected boolean setData(DataChoice dataChoice) throws VisADException, RemoteException
      Called by the init(datachoice) method. Reset or set data choice's data into the displayables. Do everything necessary to load in data.
      Overrides:
      setData in class DisplayControlImpl
      Parameters:
      dataChoice - choice for the data
      Returns:
      true if this was successful
      Throws:
      RemoteException - Java RMI error
      VisADException - VisAD error
    • receiveShareData

      public void receiveShareData(Sharable from, Object dataId, Object[] data)
      reset the display with this data gotten by sharing
      Specified by:
      receiveShareData in interface Sharable
      Overrides:
      receiveShareData in class DisplayControlImpl
      Parameters:
      from - object that is sharing data
      dataId - id for shareable data
      data - the data being shared
    • canDoProgressiveResolution

      protected boolean canDoProgressiveResolution()
      Description copied from class: DisplayControlImpl
      Does this control support progressive resolution? Subclasses should override.
      Overrides:
      canDoProgressiveResolution in class GridDisplayControl
      Returns:
      _more_