org.hsqldb.util
Class DatabaseManager

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjava.awt.Panel
              extended byjava.applet.Applet
                  extended byorg.hsqldb.util.DatabaseManager
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.event.ActionListener, java.util.EventListener, java.awt.image.ImageObserver, java.awt.event.KeyListener, java.awt.MenuContainer, java.io.Serializable, java.awt.event.WindowListener
Direct Known Subclasses:
DatabaseManagerSample, ZaurusDatabaseManager

public class DatabaseManager
extends java.applet.Applet
implements java.awt.event.ActionListener, java.awt.event.WindowListener, java.awt.event.KeyListener

AWT Tool for manageing 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

See Also:
Serialized Form

Field Summary
 
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
DatabaseManager()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent ev)
          Method declaration
 void init()
          Method declaration
 void keyPressed(java.awt.event.KeyEvent k)
          Method declaration
 void keyReleased(java.awt.event.KeyEvent k)
          Method declaration
 void keyTyped(java.awt.event.KeyEvent k)
          Method declaration
static void main(java.lang.String[] arg)
          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.awt.Container
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, remove, remove, removeAll, removeContainerListener, removeNotify, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, setLayout, transferFocusBackward, transferFocusDownCycle, update, validate
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, dispatchEvent, enable, enable, enableInputMethods, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocusInWindow, reshape, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DatabaseManager

public DatabaseManager()
Method Detail

init

public void init()
Method declaration


main

public static void main(java.lang.String[] arg)
Method declaration

Parameters:
arg -

keyPressed

public void keyPressed(java.awt.event.KeyEvent k)
Method declaration

Specified by:
keyPressed in interface java.awt.event.KeyListener
Parameters:
k -

keyReleased

public void keyReleased(java.awt.event.KeyEvent k)
Method declaration

Specified by:
keyReleased in interface java.awt.event.KeyListener
Parameters:
k -

keyTyped

public void keyTyped(java.awt.event.KeyEvent k)
Method declaration

Specified by:
keyTyped in interface java.awt.event.KeyListener
Parameters:
k -

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent ev)
Method declaration

Specified by:
actionPerformed in interface java.awt.event.ActionListener
Parameters:
ev -

windowActivated

public void windowActivated(java.awt.event.WindowEvent e)
Method declaration

Specified by:
windowActivated in interface java.awt.event.WindowListener
Parameters:
e -

windowDeactivated

public void windowDeactivated(java.awt.event.WindowEvent e)
Method declaration

Specified by:
windowDeactivated in interface java.awt.event.WindowListener
Parameters:
e -

windowClosed

public void windowClosed(java.awt.event.WindowEvent e)
Method declaration

Specified by:
windowClosed in interface java.awt.event.WindowListener
Parameters:
e -

windowClosing

public void windowClosing(java.awt.event.WindowEvent ev)
Method declaration

Specified by:
windowClosing in interface java.awt.event.WindowListener
Parameters:
ev -

windowDeiconified

public void windowDeiconified(java.awt.event.WindowEvent e)
Method declaration

Specified by:
windowDeiconified in interface java.awt.event.WindowListener
Parameters:
e -

windowIconified

public void windowIconified(java.awt.event.WindowEvent e)
Method declaration

Specified by:
windowIconified in interface java.awt.event.WindowListener
Parameters:
e -

windowOpened

public void windowOpened(java.awt.event.WindowEvent e)
Method declaration

Specified by:
windowOpened in interface java.awt.event.WindowListener
Parameters:
e -


Copyright © 2001 - 2002 HSQL Development Group. All Rights Reserved.