Class EarthDataViewController

java.lang.Object
noaa.coastwatch.gui.EarthDataViewController

public class EarthDataViewController extends Object
The EarthDataViewController class handles interactions between an EarthDataView object and the chooser objects used to manipulate its properties. All changes in the view overlays, palette, enhancement function, zoom, etc. are handled by the controller. The controller methods may be used to access the property chooser panels in order to arrange them in a layout manager.
Since:
3.1.7
Author:
Peter Hollemans
See Also:
  • Constructor Details

    • EarthDataViewController

      public EarthDataViewController(EarthDataReader reader, List<String> variableList)
      Creates an new controller using the specified reader. The initial view shows a color enhancement of the first variable in the specified list.
      Parameters:
      reader - the reader to use.
      variableList - the list of variables names to make available. The only variables currently supported are Grid data variables.
      See Also:
  • Method Details

    • getNavAnalysisPanel

      public NavigationAnalysisPanel getNavAnalysisPanel()
      Gets the navigation analysis panel for this controller.
      Returns:
      the analysis panel.
    • getTabComponentPanels

      public List<TabComponent> getTabComponentPanels()
      Gets a list of tab component panels created by this controller.
      Returns:
      the component panels.
    • getVariableChooser

      public VariableChooser getVariableChooser()
      Gets the variable chooser created by this controller.
      Returns:
      the variable chooser.
    • getViewPanel

      public EarthDataViewPanel getViewPanel()
      Gets the view panel created by this controller.
      Returns:
      the view panel.
    • getLightTable

      public LightTable getLightTable()
      Gets the light table created by this controller.
      Returns:
      the light table.
    • getLegendPanel

      public LegendPanel getLegendPanel()
      Gets the legend panel created by this controller.
      Returns:
      the legend panel.
    • dispose

      public void dispose()
      Disposes of any resources used by this controller.
    • getOverlayChooser

      public OverlayListChooser getOverlayChooser()
      Gets the overlay list chooser created by this controller.
      Returns:
      the overlay list chooser.
    • getPaletteChooser

      public PaletteChooser getPaletteChooser()
      Gets the palette chooser created by this controller.
      Returns:
      the palette chooser.
    • getEnhancementChooser

      public EnhancementChooser getEnhancementChooser()
      Gets the enhancement chooser created by this controller.
      Returns:
      the enhancement chooser.
    • resetInteraction

      public void resetInteraction()
      Resets the interaction mode.