Package org.h2.tools
Class GUIConsole
java.lang.Object
org.h2.util.Tool
org.h2.tools.Console
org.h2.tools.GUIConsole
- All Implemented Interfaces:
ActionListener,MouseListener,WindowListener,EventListener,ShutdownHandler
Console for environments with AWT support.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidINTERNALprivate voidprivate booleanprivate voidloadFont()private static ImagevoidINTERNALvoidINTERNALvoidINTERNALvoidINTERNALvoidINTERNAL(package private) voidshow()Overridden by GUIConsole to show a windowprivate voidprivate voidvoidshutdown()INTERNAL.private voidvoidINTERNALvoidINTERNALvoidINTERNALvoidINTERNALvoidINTERNALvoidINTERNALvoidINTERNALMethods inherited from class org.h2.tools.Console
main, openBrowser, runToolMethods inherited from class org.h2.util.Tool
isOption, printNoDatabaseFilesFound, setOut, showUsage, showUsageAndThrowUnsupportedOption, throwUnsupportedOption
-
Field Details
-
lastOpenNs
private long lastOpenNs -
trayIconUsed
private boolean trayIconUsed -
font
-
statusFrame
-
urlText
-
startBrowser
-
createFrame
-
pathField
-
userField
-
passwordField
-
passwordConfirmationField
-
createButton
-
errorArea
-
tray
-
trayIcon
-
-
Constructor Details
-
GUIConsole
public GUIConsole()
-
-
Method Details
-
show
void show()Description copied from class:ConsoleOverridden by GUIConsole to show a window -
loadImage
-
shutdown
public void shutdown()Description copied from class:ConsoleINTERNAL. Stop all servers that were started using the console.- Specified by:
shutdownin interfaceShutdownHandler- Overrides:
shutdownin classConsole
-
loadFont
private void loadFont() -
createTrayIcon
private boolean createTrayIcon() -
showStatusWindow
private void showStatusWindow() -
startBrowser
private void startBrowser() -
showCreateDatabase
private void showCreateDatabase() -
createDatabase
private void createDatabase() -
actionPerformed
INTERNAL- Specified by:
actionPerformedin interfaceActionListener
-
mouseClicked
INTERNAL- Specified by:
mouseClickedin interfaceMouseListener
-
mouseEntered
INTERNAL- Specified by:
mouseEnteredin interfaceMouseListener
-
mouseExited
INTERNAL- Specified by:
mouseExitedin interfaceMouseListener
-
mousePressed
INTERNAL- Specified by:
mousePressedin interfaceMouseListener
-
mouseReleased
INTERNAL- Specified by:
mouseReleasedin interfaceMouseListener
-
windowClosing
INTERNAL- Specified by:
windowClosingin interfaceWindowListener
-
windowActivated
INTERNAL- Specified by:
windowActivatedin interfaceWindowListener
-
windowClosed
INTERNAL- Specified by:
windowClosedin interfaceWindowListener
-
windowDeactivated
INTERNAL- Specified by:
windowDeactivatedin interfaceWindowListener
-
windowDeiconified
INTERNAL- Specified by:
windowDeiconifiedin interfaceWindowListener
-
windowIconified
INTERNAL- Specified by:
windowIconifiedin interfaceWindowListener
-
windowOpened
INTERNAL- Specified by:
windowOpenedin interfaceWindowListener
-