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 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.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. The tab components are the controls that the user can use to manipulate aspects of the view.- Returns:
- the component panels.
-
getSurveyChooser
- Since:
- 3.8.1
-
getAnnotationChooser
- Since:
- 3.8.1
-
getVariableChooser
-
getViewPanel
-
getLightTable
-
getLegendPanel
-
getViewOperationChooser
-
getMessageOperation
-
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.