SQLTuple version: 1.2.0.0

hep.aida.ref.sql.JAS3Plugin
Class SQLTupleWizardPage

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by javax.swing.JPanel
                  extended by org.freehep.swing.wizard.WizardPage
                      extended by hep.aida.ref.sql.JAS3Plugin.SQLTupleWizardPage
All Implemented Interfaces:
KeyListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, Finishable

public class SQLTupleWizardPage
extends WizardPage
implements Finishable

SQLTupleWizardPage is a Wizard to establish connection to SQL database using SQLTuple.

$Id: SQLTupleWizardPage.java,v 1.21 2007/06/11 14:02:29 hrivnac Exp $

 $Log: SQLTupleWizardPage.java,v $
 Revision 1.21  2007/06/11 14:02:29  hrivnac
 better support for tags in Oracle

 Revision 1.20  2007/05/23 16:38:45  hrivnac
 logical connections for Plotter; better UML

 Revision 1.19  2006/12/19 14:31:08  hrivnac
 news added into WS

 Revision 1.18  2006/12/13 16:38:51  hrivnac
 derby works in JAS3 Plugin

 Revision 1.17  2005/09/28 16:21:06  hrivnac
 code cleaning

 Revision 1.16  2005/03/08 17:05:51  hrivnac
 ...

 Revision 1.15  2004/12/08 10:56:51  hrivnac
 ITree created with sensible name for Oracle

 Revision 1.14  2004/12/08 10:25:19  hrivnac
 ITree created with sensible name for Oracle

 Revision 1.13  2004/12/08 10:15:39  hrivnac
 ITree created with sensible name for Oracle

 Revision 1.12  2004/12/07 01:04:56  hrivnac
 name pattern can be specified

 Revision 1.11  2004/12/01 16:07:15  hrivnac
 better support for ColMan JAS3 plugin

 Revision 1.10  2004/11/30 15:13:20  hrivnac
 support for ColMan JAS3Plugin

 Revision 1.9  2004/11/26 17:52:28  hrivnac
 JAS3Plugin can use customised StmtSrc

 Revision 1.8  2004/11/24 14:32:32  hrivnac
 better support for schemas

 Revision 1.7  2004/11/19 16:04:39  hrivnac
 JAS3 plugin supports empty password

 Revision 1.6  2004/10/29 22:27:25  hrivnac
 imports corrected

 Revision 1.5  2004/10/22 15:33:00  hrivnac
 cleaned

 Revision 1.4  2004/10/20 23:02:29  hrivnac
 Types mapping simplified

 Revision 1.3  2004/10/13 12:25:40  hrivnac
 defaults work fine

 Revision 1.2  2004/10/12 19:26:59  hrivnac
 MySQL Connector 3.0.14

 Revision 1.1  2004/10/08 22:20:50  hrivnac
 JAS3Plugin works from JAS3 Menu

 

Version:
$Id: SQLTupleWizardPage.java,v 1.21 2007/06/11 14:02:29 hrivnac Exp $
Author:
J.Hrivnac
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
 
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
 
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
 
Field Summary
private  RecentItemTextField _nameField
           
private  JPasswordField _passwordField
           
private  RecentItemTextField _schemaField
           
private static String _stmtSrc
           
private  JTextField _stmtSrcField
           
private  RecentItemTextField _urlField
           
private  RecentItemTextField _userField
           
 
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 
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
SQLTupleWizardPage()
          Construct.
 
Method Summary
private  void initComponents()
          Create panel.
 void onFinish()
          Connect to the SQL database when "Finish" is requested.
static void setStmtSrc(String stmtSrc)
          Set customised StmtSrc properties.
 
Methods inherited from class org.freehep.swing.wizard.WizardPage
beforeShowing, dispose, doBusy, doEnable, getFinishEnabled, getNextEnabled, handleError, keyPressed, keyReleased, keyTyped, onCancel, onPrevious, onWasFinished, setFinishEnabled, setNextEnabled, toString
 
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_stmtSrc

private static String _stmtSrc

_urlField

private RecentItemTextField _urlField

_schemaField

private RecentItemTextField _schemaField

_nameField

private RecentItemTextField _nameField

_userField

private RecentItemTextField _userField

_passwordField

private JPasswordField _passwordField

_stmtSrcField

private JTextField _stmtSrcField
Constructor Detail

SQLTupleWizardPage

public SQLTupleWizardPage()
Construct.

Method Detail

onFinish

public void onFinish()
Connect to the SQL database when "Finish" is requested.

Specified by:
onFinish in interface Finishable

initComponents

private void initComponents()
Create panel.


setStmtSrc

public static void setStmtSrc(String stmtSrc)
Set customised StmtSrc properties.

Parameters:
stmtSrc - The customised StmtSrc properties.

Written by: J.Hrivnac

Documentation built November 9 2010 on Linux by hrivnac