Class ColorCrossSectionControl

All Implemented Interfaces:
ActionListener, ItemListener, PropertyChangeListener, EventListener, HyperlinkListener, Sharable, DataChangeListener, DisplayControl, Prototypable, DisplayableData.DragAdapter, ControlListener, DisplayListener
Direct Known Subclasses:
ColorRhiControl, Level2ColorCrossSectionControl, RadarCrossSectionControl, RadarRhiControl

public class ColorCrossSectionControl extends CrossSectionControl
Class for displaying cross sections as color shaded displays.
Version:
$Revision: 1.24 $
Author:
Jeff McWhirter
  • Constructor Details

    • ColorCrossSectionControl

      public ColorCrossSectionControl()
      Default constructor
  • Method Details

    • createXSDisplay

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

      protected DisplayableData createVCSDisplay() throws VisADException, RemoteException
      Create the DisplayableData that will be used to depict the data in the control's display.
      Specified by:
      createVCSDisplay in class CrossSectionControl
      Returns:
      depictor for data in main display
      Throws:
      VisADException - unable to create depictor
      RemoteException - unable to create depictor (shouldn't happen)
    • getControlWidgets

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

      public void setSmoothed(boolean v)
      Set whether the depictions should show smooth or blocky shading. Used by XML persistence.
      Parameters:
      v - true to use smoothed depictions
    • getSmoothed

      public boolean getSmoothed()
      Get whether the depictions show smooth or blocky shading.
      Returns:
      true if using smoothed depictions
    • setAllowSmoothing

      public void setAllowSmoothing(boolean v)
      Set whether this display should allow smoothed colors or blocky. Used by XML persistence (bundles) for the most part.
      Parameters:
      v - true to allowing smoothing.
    • getAllowSmoothing

      public boolean getAllowSmoothing()
      Get whether this display should allow smoothing
      Returns:
      true if allows smoothing.
    • getIsRaster

      public boolean getIsRaster()
      Is this a raster display?
      Overrides:
      getIsRaster in class DisplayControlImpl
      Returns:
      true if raster