Package noaa.coastwatch.gui
Class ScriptConsole
java.lang.Object
noaa.coastwatch.gui.ScriptConsole
The
ScriptConsole can be shown and hidden to allow a scripting
interface to the CoastWatch Utilities using Beanshell syntax. Refer to
the Beanshell documentation, Java API, and CoastWatch Utilities API for
details on valid commands and classes.- Since:
- 3.3.1
- Author:
- Peter Hollemans
-
Method Summary
Modifier and TypeMethodDescriptiongetFrame()Gets the frame for this console.static ScriptConsoleGets the singleton instance of this class.voidshowRelativeTo(Component parent) Shows the console relative to the specified parent component.
-
Method Details
-
getInstance
Gets the singleton instance of this class. -
showRelativeTo
Shows the console relative to the specified parent component.- Parameters:
parent- the component to use for the placement of the console, or null for relative to the screen.
-
getFrame
Gets the frame for this console.- Returns:
- the consolve frame.
- Since:
- 4.0.1
-