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
--dir <path> default directory
--script <file> reads from script file
--urlid <urlid> get connection info from RC file
--rcfile <file> use instead of default (with urlid)
--noexit Don't exit JVM
Note that the sys-table switch will not work for Oracle, because Oracle
does not categorize their system tables correctly in the JDBC Metadata.
| Modifier and Type | Class and Description |
|---|---|
| public static class | DatabaseManagerSwing.
Persisted User Preferences for DatabaseManagerSwing. |
| private class | |
| protected class |
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private MouseEvent | |
| private static final String | |
| private boolean | |
| private static final String | |
| pack-priv boolean | |
| pack-priv static boolean | |
| pack-priv JCheckBoxMenuItem | |
| pack-priv JCheckBoxMenuItem | |
| pack-priv JCheckBoxMenuItem | |
| pack-priv JCheckBoxMenuItem | |
| pack-priv JCheckBoxMenuItem | |
| pack-priv JCheckBoxMenuItem | |
| pack-priv JCheckBoxMenuItem | |
| pack-priv JCheckBoxMenuItem | |
| private String | |
| private static final int | |
| private final Runnable | |
| private Thread | |
| pack-priv Connection | |
| pack-priv String | |
| private static final String | |
| pack-priv static String | |
| private final Runnable | |
| pack-priv boolean | |
| pack-priv DatabaseMetaData | |
| private final Runnable | |
| pack-priv JSplitPane | |
| pack-priv RootPaneContainer | |
| pack-priv Cursor | |
| private static final String | |
| pack-priv GridSwing | |
| pack-priv JTable | gResultTable
I think this is used to store model info whether we're using Grid output or not (this object is queried for data to display for text output mode). |
| private static final String | |
| private boolean | |
| pack-priv JScrollPane | |
| private static final String | |
| private static String | |
| pack-priv static int | |
| pack-priv static JButton | |
| pack-priv int | |
| private boolean | |
| private JButton | |
| private JButton | |
| private JFrame | |
| pack-priv JLabel | |
| pack-priv ArrayList | |
| private static final String | |
| pack-priv long | |
| pack-priv JMenuItem | |
| pack-priv JMenuItem | |
| pack-priv JMenuItem | |
| private final JMenu | |
| pack-priv JMenu | |
| pack-priv static final String | |
| private static final String[] | |
| pack-priv JSplitPane | |
| pack-priv static final String | |
| private static final String[] | |
| private static final HashSet | |
| private DatabaseManagerSwing. | |
| pack-priv JPanel | |
| pack-priv JPanel | |
| pack-priv JRadioButtonMenuItem | |
| pack-priv JRadioButtonMenuItem | |
| pack-priv JRadioButtonMenuItem | |
| pack-priv JRadioButtonMenuItem | |
| pack-priv static String | |
| pack-priv DefaultMutableTreeNode | |
| pack-priv Connection | |
| private static final String | |
| private String | |
| pack-priv ActionListener | |
| pack-priv boolean | |
| private boolean | |
| private static final String | |
| pack-priv boolean | |
| private static final String | |
| private static final String | |
| private boolean | |
| pack-priv String | sqlScriptBuffer
Value of this variable only retained if huge input script read in. |
| pack-priv String[] | |
| pack-priv Statement | |
| pack-priv TableModel | |
| pack-priv HashMap | |
| pack-priv DefaultTreeModel | |
| private final Runnable | |
| pack-priv JScrollPane | |
| private static final String | |
| private static boolean | |
| pack-priv JTree | |
| pack-priv JTextArea | |
| pack-priv Cursor | |
| pack-priv JScrollPane | |
| pack-priv JTextArea | |
| pack-priv Cursor | |
| pack-priv JScrollPane | |
| private static final String[] | |
| private final Cursor | waitCursor
Wait Cursor |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | actionPerformed(ActionEvent ev)
Implements java. Invoked when an action occurs. |
| private JMenu | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| public void | |
| protected JToolBar | |
| protected void | |
| private void | |
| protected void | |
| private void | |
| private void | formatResultSet(ResultSet r)
We let Swing handle displaying nulls (which it generally does by printing nothing for them), except for the case of database VARCHARs, because this is the only class where there is any ambiguity about whether there is a null stored or not. |
| protected int[] | |
| public final void | |
| private void | |
| private 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 | |
| private DefaultMutableTreeNode | |
| public final void | mouseClicked(final MouseEvent mouseEvent)
Implements java. Invoked when the mouse button has been clicked (pressed and released) on a component. |
| public final void | mouseEntered(final MouseEvent mouseEvent)
Implements java. Invoked when the mouse enters a component. |
| public final void | mouseExited(final MouseEvent mouseEvent)
Implements java. Invoked when the mouse exits a component. |
| public final void | mousePressed(final MouseEvent e)
Implements java. Invoked when a mouse button has been pressed on a component. |
| public final void | mouseReleased(final MouseEvent e)
Implements java. Invoked when a mouse button has been released on a component. |
| private String | quoteObjectName(String name)
perform a limited check (inconclusive) and quote object name if required |
| private String | quoteTableName(String name)
Perform a limited check (inconclusive) and quote object name if required. |
| protected void | |
| pack-priv void | |
| private void | |
| private static void | |
| private void | |
| private void | |
| pack-priv void | |
| public void | |
| private void | |
| private void | |
| private static void | |
| public void | |
| public void | |
| private void | |
| pack-priv void | |
| private void | |
| private 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. |