Package noaa.coastwatch.gui
Class EarthDataViewController
java.lang.Object
noaa.coastwatch.gui.EarthDataViewController
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 Summary
ConstructorDescriptionEarthDataViewController
(EarthDataReader reader, List<String> variableList) Creates an new controller using the specified reader. -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
Disposes of any resources used by this controller.Gets the enhancement chooser created by this controller.Gets the legend panel created by this controller.Gets the light table created by this controller.Gets the navigation analysis panel for this controller.Gets the overlay list chooser created by this controller.Gets the palette chooser created by this controller.Gets a list of tab component panels created by this controller.Gets the variable chooser created by this controller.Gets the view panel created by this controller.void
Resets the interaction mode.
-
Constructor Details
-
EarthDataViewController
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 areGrid
data variables.- See Also:
-
-
Method Details
-
getTabComponentPanels
Gets a list of tab component panels created by this controller.- Returns:
- the component panels.
-
getVariableChooser
Gets the variable chooser created by this controller.- Returns:
- the variable chooser.
-
getViewPanel
Gets the view panel created by this controller.- Returns:
- the view panel.
-
getLightTable
Gets the light table created by this controller.- Returns:
- the light table.
-
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
Gets the overlay list chooser created by this controller.- Returns:
- the overlay list chooser.
-
getPaletteChooser
Gets the palette chooser created by this controller.- Returns:
- the palette chooser.
-
getEnhancementChooser
Gets the enhancement chooser created by this controller.- Returns:
- the enhancement chooser.
-
resetInteraction
public void resetInteraction()Resets the interaction mode.