Class ColorPlanViewControl

All Implemented Interfaces:
ActionListener, ItemListener, PropertyChangeListener, EventListener, HyperlinkListener, Sharable, DataChangeListener, DisplayControl, Prototypable, ControlListener, DisplayListener
Direct Known Subclasses:
CappiControl, RadarSweepControl

public class ColorPlanViewControl extends PlanViewControl
Class for controlling the display of color shaded plan views of gridded data.
Version:
$Revision: 1.41 $
Author:
Jeff McWhirter
  • Constructor Details

    • ColorPlanViewControl

      public ColorPlanViewControl()
      Default constructor. Sets the attribute flags used by this particular PlanViewControl
  • Method Details

    • createPlanDisplay

      protected DisplayableData createPlanDisplay() throws VisADException, RemoteException
      Method to create the particular DisplayableData that this this instance uses for data depictions.
      Specified by:
      createPlanDisplay in class PlanViewControl
      Returns:
      Contour2DDisplayable for this instance.
      Throws:
      VisADException - VisAD error
      RemoteException - RMI error
    • applyTextureQuality

      protected void applyTextureQuality() throws VisADException, RemoteException
      Use the value of the texture quality to set the value on the display
      Overrides:
      applyTextureQuality in class DisplayControlImpl
      Throws:
      RemoteException - problem with Java RMI
      VisADException - problem setting attribute on Displayable
    • getControlWidgets

      public void getControlWidgets(List controlWidgets) throws VisADException, RemoteException
      Add in any special control widgets to the current list of widgets.
      Overrides:
      getControlWidgets in class PlanViewControl
      Parameters:
      controlWidgets - list of control widgets
      Throws:
      VisADException - VisAD error
      RemoteException - RMI error
    • addDisplaySettings

      protected void addDisplaySettings(DisplaySettingsDialog dsd)
      Add DisplaySettings appropriate for this display
      Overrides:
      addDisplaySettings in class PlanViewControl
      Parameters:
      dsd - the dialog to add to
    • setSmoothed

      public void setSmoothed(boolean v)
      Set whether this display should be smoothed colors or blocky. Used by XML persistence (bundles) for the most part.
      Parameters:
      v - true if smoothed.
    • getSmoothed

      public boolean getSmoothed()
      Get whether this display should be smoothed colors or blocky.
      Returns:
      true if smoothed.
    • 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