| |
|
| javax.swing.JApplet org.hsqldb.util.DatabaseManagerSwing
DatabaseManagerSwing | public class DatabaseManagerSwing extends JApplet implements ActionListener,WindowListener,KeyListener(Code) | | Swing Tool for managing a JDBC database.
Usage: java DatabaseManagerSwing [--options]
where options include:
--driver jdbc driver class
--url jdbc url
--user username used for connection
--password password for this user
--dir default directory
--script reads from script file
--urlid get connection info from RC file
--rcfile 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.
New class based on Hypersonic SQL original
author: dmarshall@users version: 1.8.0 since: 1.7.0 |
Inner Class :protected class StatementExecRunnable implements Runnable | |
Inner Class :public class DBMPrefs | |
bMustExit | static boolean bMustExit(Code) | | |
displayRowCounts | boolean displayRowCounts(Code) | | |
gResultTable | JTable gResultTable(Code) | | 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).
If so, the presentation-independent model part should be moved
to an appropriately-named class instead of storing pure data in
a Swing-specific class.
|
iMaxRecent | static int iMaxRecent(Code) | | |
showIndexDetails | boolean showIndexDetails(Code) | | |
sqlScriptBuffer | String sqlScriptBuffer(Code) | | Value of this variable only retained if huge input script read in.
|
DatabaseManagerSwing | public DatabaseManagerSwing()(Code) | | |
DatabaseManagerSwing | public DatabaseManagerSwing(JFrame frameIn)(Code) | | |
connect | public void connect(Connection c)(Code) | | This stuff is all quick, except for the refreshTree().
This unit can be kicked off in main Gui thread. The refreshTree
will be backgrounded and this method will return.
|
directRefreshTree | protected void directRefreshTree()(Code) | | Clear all existing nodes from the tree model and rebuild from scratch.
This method executes in current thread
|
executeCurrentSQL | protected void executeCurrentSQL()(Code) | | Schedules to run in a Gui-safe thread
|
refreshTree | protected void refreshTree()(Code) | | Schedules to run in a Gui-safe thread
|
resetTooltips | void resetTooltips()(Code) | | |
setMustExit | public void setMustExit(boolean b)(Code) | | |
setStatusLine | void setStatusLine(String busyBaseString, int rowCount)(Code) | | |
start | public void start()(Code) | | |
updateAutoCommitBox | void updateAutoCommitBox()(Code) | | |
|
|
|