Usage: java DatabaseManagerSwing [--options]
where options include:
--driver <classname> jdbc driver class
--url <name> jdbc url
--user <name> username used for connection
--password <password> password for this user
--urlid <urlid> get connection info from RC file
--rcfile <file> use instead of default (with urlid)
--dir <path> default directory
--script <file> reads from script file
Originally in HypersonicSQL. Extended in various versions of HSQLDB.
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| pack-priv boolean | |
| pack-priv static boolean | |
| pack-priv Button | |
| pack-priv Button | |
| pack-priv Connection | |
| pack-priv static String | |
| pack-priv static String | |
| pack-priv static String | |
| pack-priv static String | |
| pack-priv static String | |
| pack-priv static String | |
| pack-priv DatabaseMetaData | |
| pack-priv Frame | |
| pack-priv Grid | |
| private static final String | |
| pack-priv String | |
| pack-priv static final int | |
| pack-priv Image | |
| pack-priv int | |
| pack-priv int | |
| pack-priv long | |
| pack-priv Menu | |
| pack-priv static final String | |
| pack-priv Panel | |
| pack-priv String[] | |
| pack-priv Statement | |
| private static boolean | |
| pack-priv Tree | |
| pack-priv TextArea | |
| pack-priv TextArea |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | actionPerformed(ActionEvent ev)
Implements java. Invoked when an action occurs. |
| pack-priv void | |
| pack-priv void | |
| private void | |
| pack-priv void | |
| public void | |
| pack-priv void | |
| pack-priv void | |
| public void | |
| private void | |
| pack-priv void | |
| public void | keyPressed(KeyEvent k)
Implements java. Invoked when a key has been pressed. |
| public void | keyReleased(KeyEvent k)
Implements java. Invoked when a key has been released. |
| public void | keyTyped(KeyEvent k)
Implements java. Invoked when a key has been typed. |
| public static void | |
| public void | |
| protected void | |
| pack-priv void | |
| private static void | |
| pack-priv void | |
| pack-priv void | |
| private static void | |
| pack-priv void | |
| public static void | |
| pack-priv void | |
| public void | windowActivated(WindowEvent e)
Implements java. Invoked when the Window is set to be the active Window. |
| public void | windowClosed(WindowEvent e)
Implements java. Invoked when a window has been closed as the result of calling dispose on the window. |
| public void | windowClosing(WindowEvent ev)
Implements java. Invoked when the user attempts to close the window from the window's system menu. |
| public void | windowDeactivated(WindowEvent e)
Implements java. Invoked when a Window is no longer the active Window. |
| public void | windowDeiconified(WindowEvent e)
Implements java. Invoked when a window is changed from a minimized to a normal state. |
| public void | windowIconified(WindowEvent e)
Implements java. Invoked when a window is changed from a normal to a minimized state. |
| public void | windowOpened(WindowEvent e)
Implements java. Invoked the first time a window is made visible. |
| ABOUT_TEXT | back to summary |
|---|---|
| private static final String ABOUT_TEXT | |
| bHelp | back to summary |
|---|---|
| pack-priv boolean bHelp | |
| bMustExit | back to summary |
|---|---|
| pack-priv static boolean bMustExit | |
| butClear | back to summary |
|---|---|
| pack-priv Button butClear | |
| butExecute | back to summary |
|---|---|
| pack-priv Button butExecute | |
| cConn | back to summary |
|---|---|
| pack-priv Connection cConn | |
| defDirectory | back to summary |
|---|---|
| pack-priv static String defDirectory | |
| defDriver | back to summary |
|---|---|
| pack-priv static String defDriver | |
| defPassword | back to summary |
|---|---|
| pack-priv static String defPassword | |
| defScript | back to summary |
|---|---|
| pack-priv static String defScript | |
| defURL | back to summary |
|---|---|
| pack-priv static String defURL | |
| defUser | back to summary |
|---|---|
| pack-priv static String defUser | |
| dMeta | back to summary |
|---|---|
| pack-priv DatabaseMetaData dMeta | |
| fMain | back to summary |
|---|---|
| pack-priv Frame fMain | |
| gResult | back to summary |
|---|---|
| pack-priv Grid gResult | |
| HELP_TEXT | back to summary |
|---|---|
| private static final String HELP_TEXT | |
| ifHuge | back to summary |
|---|---|
| pack-priv String ifHuge | |
| iMaxRecent | back to summary |
|---|---|
| pack-priv static final int iMaxRecent | |
| imgEmpty | back to summary |
|---|---|
| pack-priv Image imgEmpty | |
| iRecent | back to summary |
|---|---|
| pack-priv int iRecent | |
| iResult | back to summary |
|---|---|
| pack-priv int iResult | |
| lTime | back to summary |
|---|---|
| pack-priv long lTime | |
| mRecent | back to summary |
|---|---|
| pack-priv Menu mRecent | |
| NL | back to summary |
|---|---|
| pack-priv static final String NL | |
| pResult | back to summary |
|---|---|
| pack-priv Panel pResult | |
| sRecent | back to summary |
|---|---|
| pack-priv String[] sRecent | |
| sStatement | back to summary |
|---|---|
| pack-priv Statement sStatement | |
| TT_AVAILABLE | back to summary |
|---|---|
| private static boolean TT_AVAILABLE | |
| tTree | back to summary |
|---|---|
| pack-priv Tree tTree | |
| txtCommand | back to summary |
|---|---|
| pack-priv TextArea txtCommand | |
| txtResult | back to summary |
|---|---|
| pack-priv TextArea txtResult | |
| DatabaseManager | back to summary |
|---|---|
| public DatabaseManager() | |
| actionPerformed | back to summary |
|---|---|
| public void actionPerformed(ActionEvent ev) Implements java. Doc from java. Invoked when an action occurs. | |
| addMenu | back to summary |
|---|---|
| pack-priv void addMenu(MenuBar b, String name, String[] items) | |
| addMenuItems | back to summary |
|---|---|
| pack-priv void addMenuItems(Menu f, String[] m) | |
| addToRecent | back to summary |
|---|---|
| private void addToRecent(String s) | |
| clear | back to summary |
|---|---|
| pack-priv void clear() Clear SQL Statements. | |
| connect | back to summary |
|---|---|
| public void connect(Connection c) | |
| execute | back to summary |
|---|---|
| pack-priv void execute() Adjust this method for large strings...ie multi megabtypes. | |
| formatResultSet | back to summary |
|---|---|
| pack-priv void formatResultSet(ResultSet r) | |
| init | back to summary |
|---|---|
| public void init() | |
| initGUI | back to summary |
|---|---|
| private void initGUI() | |
| insertTestData | back to summary |
|---|---|
| pack-priv void insertTestData() | |
| keyPressed | back to summary |
|---|---|
| public void keyPressed(KeyEvent k) Implements java. Doc from java. Invoked when a key has been pressed.
See the class description for | |
| keyReleased | back to summary |
|---|---|
| public void keyReleased(KeyEvent k) Implements java. Doc from java. Invoked when a key has been released.
See the class description for | |
| keyTyped | back to summary |
|---|---|
| public void keyTyped(KeyEvent k) Implements java. Doc from java. Invoked when a key has been typed.
See the class description for | |
| main | back to summary |
|---|---|
| public static void main(String[] arg) Run with --help switch for usage instructions.
| |
| main | back to summary |
|---|---|
| public void main() | |
| refreshTree | back to summary |
|---|---|
| protected void refreshTree() | |
| saveAsCsv | back to summary |
|---|---|
| pack-priv void saveAsCsv(String filename) | |
| setLogToSystem | back to summary |
|---|---|
| private static void setLogToSystem(boolean value) | |
| showHelp | back to summary |
|---|---|
| pack-priv void showHelp(String[] help) | |
| showResultInText | back to summary |
|---|---|
| pack-priv void showResultInText() | |
| showUsage | back to summary |
|---|---|
| private static void showUsage() | |
| testPerformance | back to summary |
|---|---|
| pack-priv void testPerformance() | |
| threadedDBM | back to summary |
|---|---|
| public static void threadedDBM() | |
| updateResult | back to summary |
|---|---|
| pack-priv void updateResult() | |
| windowActivated | back to summary |
|---|---|
| public void windowActivated(WindowEvent e) Implements java. Doc from java. Invoked when the Window is set to be the active Window. Only a Frame or a Dialog can be the active Window. The native windowing system may denote the active Window or its children with special decorations, such as a highlighted title bar. The active Window is always either the focused Window, or the first Frame or Dialog that is an owner of the focused Window. | |
| windowClosed | back to summary |
|---|---|
| public void windowClosed(WindowEvent e) Implements java. Doc from java. Invoked when a window has been closed as the result of calling dispose on the window. | |
| windowClosing | back to summary |
|---|---|
| public void windowClosing(WindowEvent ev) Implements java. Doc from java. Invoked when the user attempts to close the window from the window's system menu. | |
| windowDeactivated | back to summary |
|---|---|
| public void windowDeactivated(WindowEvent e) Implements java. Doc from java. Invoked when a Window is no longer the active Window. Only a Frame or a Dialog can be the active Window. The native windowing system may denote the active Window or its children with special decorations, such as a highlighted title bar. The active Window is always either the focused Window, or the first Frame or Dialog that is an owner of the focused Window. | |
| windowDeiconified | back to summary |
|---|---|
| public void windowDeiconified(WindowEvent e) Implements java. Doc from java. Invoked when a window is changed from a minimized to a normal state. | |
| windowIconified | back to summary |
|---|---|
| public void windowIconified(WindowEvent e) Implements java. Doc from java. Invoked when a window is changed from a normal to a minimized state. For many platforms, a minimized window is displayed as the icon specified in the window's iconImage property. | |
| windowOpened | back to summary |
|---|---|
| public void windowOpened(WindowEvent e) Implements java. Doc from java. Invoked the first time a window is made visible. | |