public class Console extends Tool implements ActionListener, MouseListener, WindowListener, ShutdownHandler
| 构造器和说明 |
|---|
Console() |
| 限定符和类型 | 方法和说明 |
|---|---|
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, showUsageAndThrowUnsupportedOption, 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 在类中 Toolargs - the command line argumentsSQLExceptionpublic void shutdown()
shutdown 在接口中 ShutdownHandlerpublic void actionPerformed(ActionEvent e)
actionPerformed 在接口中 ActionListenerpublic void mouseClicked(MouseEvent e)
mouseClicked 在接口中 MouseListenerpublic void mouseEntered(MouseEvent e)
mouseEntered 在接口中 MouseListenerpublic void mouseExited(MouseEvent e)
mouseExited 在接口中 MouseListenerpublic void mousePressed(MouseEvent e)
mousePressed 在接口中 MouseListenerpublic void mouseReleased(MouseEvent e)
mouseReleased 在接口中 MouseListenerpublic void windowClosing(WindowEvent e)
windowClosing 在接口中 WindowListenerpublic void windowActivated(WindowEvent e)
windowActivated 在接口中 WindowListenerpublic void windowClosed(WindowEvent e)
windowClosed 在接口中 WindowListenerpublic void windowDeactivated(WindowEvent e)
windowDeactivated 在接口中 WindowListenerpublic void windowDeiconified(WindowEvent e)
windowDeiconified 在接口中 WindowListenerpublic void windowIconified(WindowEvent e)
windowIconified 在接口中 WindowListenerpublic void windowOpened(WindowEvent e)
windowOpened 在接口中 WindowListenerCopyright © 2017. All rights reserved.