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 TypeMethodDescriptionvoid
INTERNALprivate void
private boolean
private void
loadFont()
private static Image
void
INTERNALvoid
INTERNALvoid
INTERNALvoid
INTERNALvoid
INTERNAL(package private) void
show()
Overridden by GUIConsole to show a windowprivate void
private void
void
shutdown()
INTERNAL.private void
void
INTERNALvoid
INTERNALvoid
INTERNALvoid
INTERNALvoid
INTERNALvoid
INTERNALvoid
INTERNALMethods inherited from class org.h2.tools.Console
main, openBrowser, runTool
Methods 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:Console
Overridden by GUIConsole to show a window -
loadImage
-
shutdown
public void shutdown()Description copied from class:Console
INTERNAL. Stop all servers that were started using the console.- Specified by:
shutdown
in interfaceShutdownHandler
- Overrides:
shutdown
in 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:
actionPerformed
in interfaceActionListener
-
mouseClicked
INTERNAL- Specified by:
mouseClicked
in interfaceMouseListener
-
mouseEntered
INTERNAL- Specified by:
mouseEntered
in interfaceMouseListener
-
mouseExited
INTERNAL- Specified by:
mouseExited
in interfaceMouseListener
-
mousePressed
INTERNAL- Specified by:
mousePressed
in interfaceMouseListener
-
mouseReleased
INTERNAL- Specified by:
mouseReleased
in interfaceMouseListener
-
windowClosing
INTERNAL- Specified by:
windowClosing
in interfaceWindowListener
-
windowActivated
INTERNAL- Specified by:
windowActivated
in interfaceWindowListener
-
windowClosed
INTERNAL- Specified by:
windowClosed
in interfaceWindowListener
-
windowDeactivated
INTERNAL- Specified by:
windowDeactivated
in interfaceWindowListener
-
windowDeiconified
INTERNAL- Specified by:
windowDeiconified
in interfaceWindowListener
-
windowIconified
INTERNAL- Specified by:
windowIconified
in interfaceWindowListener
-
windowOpened
INTERNAL- Specified by:
windowOpened
in interfaceWindowListener
-