public class Console extends Tool implements ActionListener, MouseListener, WindowListener, ShutdownHandler
| Constructor and Description | 
|---|
Console()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
actionPerformed(ActionEvent e)
INTERNAL 
 | 
static void | 
main(String... args)
When running without options, -tcp, -web, -browser and -pg are started. 
 | 
void | 
mouseClicked(MouseEvent e)
INTERNAL 
 | 
void | 
mouseEntered(MouseEvent e)
INTERNAL 
 | 
void | 
mouseExited(MouseEvent e)
INTERNAL 
 | 
void | 
mousePressed(MouseEvent e)
INTERNAL 
 | 
void | 
mouseReleased(MouseEvent e)
INTERNAL 
 | 
void | 
runTool(String... args)
This tool starts the H2 Console (web-) server, as well as the TCP and PG
 server. 
 | 
void | 
shutdown()
INTERNAL. 
 | 
void | 
windowActivated(WindowEvent e)
INTERNAL 
 | 
void | 
windowClosed(WindowEvent e)
INTERNAL 
 | 
void | 
windowClosing(WindowEvent e)
INTERNAL 
 | 
void | 
windowDeactivated(WindowEvent e)
INTERNAL 
 | 
void | 
windowDeiconified(WindowEvent e)
INTERNAL 
 | 
void | 
windowIconified(WindowEvent e)
INTERNAL 
 | 
void | 
windowOpened(WindowEvent e)
INTERNAL 
 | 
isOption, printNoDatabaseFilesFound, setOut, showUsage, throwUnsupportedOptionpublic static void main(String... args) throws SQLException
| [-help] or [-?] | Print the list of options | 
| [-url] | Start a browser and connect to this URL | 
| [-driver] | Used together with -url: the driver | 
| [-user] | Used together with -url: the user name | 
| [-password] | Used together with -url: the password | 
| [-web] | Start the web server with the H2 Console | 
| [-tool] | Start the icon or window that allows to start a browser | 
| [-browser] | Start a browser connecting to the web server | 
| [-tcp] | Start the TCP server | 
| [-pg] | Start the PG server | 
args - the command line argumentsSQLExceptionpublic void runTool(String... args) throws SQLException
runTool in class Toolargs - the command line argumentsSQLExceptionpublic void shutdown()
shutdown in interface ShutdownHandlerpublic void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerpublic void mouseClicked(MouseEvent e)
mouseClicked in interface MouseListenerpublic void mouseEntered(MouseEvent e)
mouseEntered in interface MouseListenerpublic void mouseExited(MouseEvent e)
mouseExited in interface MouseListenerpublic void mousePressed(MouseEvent e)
mousePressed in interface MouseListenerpublic void mouseReleased(MouseEvent e)
mouseReleased in interface MouseListenerpublic void windowClosing(WindowEvent e)
windowClosing in interface WindowListenerpublic void windowActivated(WindowEvent e)
windowActivated in interface WindowListenerpublic void windowClosed(WindowEvent e)
windowClosed in interface WindowListenerpublic void windowDeactivated(WindowEvent e)
windowDeactivated in interface WindowListenerpublic void windowDeiconified(WindowEvent e)
windowDeiconified in interface WindowListenerpublic void windowIconified(WindowEvent e)
windowIconified in interface WindowListenerpublic void windowOpened(WindowEvent e)
windowOpened in interface WindowListenerCopyright © 2012 JBoss by Red Hat. All Rights Reserved.