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()
    • getTabComponentPanels

      public List<TabComponent> getTabComponentPanels()
      Gets a list of tab component panels created by this controller. The tab components are the controls that the user can use to manipulate aspects of the view.
      Returns:
      the component panels.
    • getSurveyChooser

      public SurveyListChooser getSurveyChooser()
      Since:
      3.8.1
    • getAnnotationChooser

      public AnnotationListChooser getAnnotationChooser()
      Since:
      3.8.1
    • getVariableChooser

      public VariableChooser getVariableChooser()
    • getViewPanel

      public EarthDataViewPanel getViewPanel()
    • getLightTable

      public LightTable getLightTable()
    • getLegendPanel

      public LegendPanel getLegendPanel()
    • getViewOperationChooser

      public OnScreenViewOperationChooser getViewOperationChooser()
    • getMessageOperation

      public MessageDisplayOperation getMessageOperation()
    • 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.