|
|||||||||
| Home >> All >> org >> hsqldb >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.hsqldb.util
Class QueryTool

java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Panel
java.applet.Applet
org.hsqldb.util.QueryTool
- All Implemented Interfaces:
- javax.accessibility.Accessible, java.awt.event.ActionListener, java.util.EventListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, java.awt.event.WindowListener
- public class QueryTool
- extends java.applet.Applet
- implements java.awt.event.WindowListener, java.awt.event.ActionListener
- extends java.applet.Applet
Class declaration
- Version:
- 1.7.0
| Nested Class Summary |
| Nested classes inherited from class java.applet.Applet |
java.applet.Applet.AccessibleApplet |
| Nested classes inherited from class java.awt.Panel |
java.awt.Panel.AccessibleAWTPanel |
| Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary | |
(package private) boolean |
bApplication
|
(package private) java.awt.Button |
butExecute
|
(package private) java.awt.Button |
butImport
|
(package private) java.awt.Button |
butScript
|
(package private) java.sql.Connection |
cConn
|
(package private) java.awt.Choice |
choRecent
|
(package private) static java.awt.Frame |
fMain
You can start QueryTool without a browser and applet using using this method. |
(package private) Grid |
gResult
|
(package private) static int |
iMaxRecent
|
(package private) int |
iRecent
|
(package private) static java.util.Properties |
pProperties
|
(package private) java.lang.String[] |
sRecent
|
(package private) java.sql.Statement |
sStatement
|
(package private) static java.lang.String[] |
sTestData
|
(package private) java.awt.TextArea |
txtCommand
|
| Fields inherited from class java.applet.Applet |
|
| Fields inherited from class java.awt.Panel |
|
| Fields inherited from class java.awt.Container |
|
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
QueryTool()
|
|
| Method Summary | |
boolean |
action(java.awt.Event evt,
java.lang.Object arg)
This is function handles the events when a button is clicked or when the used double-clicked on the listbox of recent commands. |
void |
actionPerformed(java.awt.event.ActionEvent ev)
Method declaration |
(package private) void |
formatResultSet(java.sql.ResultSet r)
Method declaration |
(package private) java.lang.String |
getImport()
Method declaration |
(package private) java.lang.String |
getScript()
Method declaration |
void |
init()
Initializes the window and the database and inserts some test data. |
private void |
initGUI()
Create the graphical user interface. |
(package private) void |
insertTestData()
Method declaration |
static void |
main(java.lang.String[] arg)
Method declaration |
(package private) static void |
printHelp()
Method declaration |
private void |
setRecent(java.lang.String s)
Adds a String to the Listbox of recent commands. |
(package private) void |
trace(java.lang.String s)
Method declaration |
void |
windowActivated(java.awt.event.WindowEvent e)
Method declaration |
void |
windowClosed(java.awt.event.WindowEvent e)
Method declaration |
void |
windowClosing(java.awt.event.WindowEvent ev)
Method declaration |
void |
windowDeactivated(java.awt.event.WindowEvent e)
Method declaration |
void |
windowDeiconified(java.awt.event.WindowEvent e)
Method declaration |
void |
windowIconified(java.awt.event.WindowEvent e)
Method declaration |
void |
windowOpened(java.awt.event.WindowEvent e)
Method declaration |
| Methods inherited from class java.applet.Applet |
destroy, getAccessibleContext, getAppletContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus, start, stop |
| Methods inherited from class java.awt.Panel |
addNotify |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
pProperties
static java.util.Properties pProperties
bApplication
boolean bApplication
fMain
static java.awt.Frame fMain
- You can start QueryTool without a browser and applet
using using this method. Type 'java QueryTool' to start it.
This is necessary if you want to use the standalone version
because appletviewer and internet browers do not allow the
applet to write to disk.
cConn
java.sql.Connection cConn
sStatement
java.sql.Statement sStatement
sRecent
java.lang.String[] sRecent
iMaxRecent
static int iMaxRecent
iRecent
int iRecent
txtCommand
java.awt.TextArea txtCommand
butExecute
java.awt.Button butExecute
butScript
java.awt.Button butScript
butImport
java.awt.Button butImport
choRecent
java.awt.Choice choRecent
gResult
Grid gResult
sTestData
static java.lang.String[] sTestData
| Constructor Detail |
QueryTool
public QueryTool()
| Method Detail |
main
public static void main(java.lang.String[] arg)
- Method declaration
init
public void init()
- Initializes the window and the database and inserts some test data.
trace
void trace(java.lang.String s)
- Method declaration
action
public boolean action(java.awt.Event evt, java.lang.Object arg)
- This is function handles the events when a button is clicked or
when the used double-clicked on the listbox of recent commands.
formatResultSet
void formatResultSet(java.sql.ResultSet r)
- Method declaration
getScript
java.lang.String getScript()
- Method declaration
getImport
java.lang.String getImport()
- Method declaration
setRecent
private void setRecent(java.lang.String s)
- Adds a String to the Listbox of recent commands.
initGUI
private void initGUI()
- Create the graphical user interface. This is AWT code.
insertTestData
void insertTestData()
- Method declaration
printHelp
static void printHelp()
- Method declaration
windowActivated
public void windowActivated(java.awt.event.WindowEvent e)
- Method declaration
- Specified by:
windowActivatedin interfacejava.awt.event.WindowListener
windowDeactivated
public void windowDeactivated(java.awt.event.WindowEvent e)
- Method declaration
- Specified by:
windowDeactivatedin interfacejava.awt.event.WindowListener
windowClosed
public void windowClosed(java.awt.event.WindowEvent e)
- Method declaration
- Specified by:
windowClosedin interfacejava.awt.event.WindowListener
windowClosing
public void windowClosing(java.awt.event.WindowEvent ev)
- Method declaration
- Specified by:
windowClosingin interfacejava.awt.event.WindowListener
windowDeiconified
public void windowDeiconified(java.awt.event.WindowEvent e)
- Method declaration
- Specified by:
windowDeiconifiedin interfacejava.awt.event.WindowListener
windowIconified
public void windowIconified(java.awt.event.WindowEvent e)
- Method declaration
- Specified by:
windowIconifiedin interfacejava.awt.event.WindowListener
windowOpened
public void windowOpened(java.awt.event.WindowEvent e)
- Method declaration
- Specified by:
windowOpenedin interfacejava.awt.event.WindowListener
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent ev)
- Method declaration
- Specified by:
actionPerformedin interfacejava.awt.event.ActionListener
|
|||||||||
| Home >> All >> org >> hsqldb >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC