|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--java.awt.Window | +--java.awt.Dialog | +--com.ibm.db.LogonDialog
LogonDialog represents a dialog to obtain the userID and password prior to making a connection to the database.
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
LEFT_ALIGNMENT,
RIGHT_ALIGNMENT,
TOP_ALIGNMENT |
Constructor Summary | |
LogonDialog(java.awt.Component c)
Constructs a new LogonDialog. |
Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent e)
Handles actionPerformed events. |
static java.awt.Frame |
getFrameForComponent(java.awt.Component parentComponent)
Returns the specified component's Frame. |
java.awt.Insets |
getInsets()
Returns the insets for the dialog. |
void |
keyPressed(java.awt.event.KeyEvent e)
|
void |
keyReleased(java.awt.event.KeyEvent e)
|
void |
keyTyped(java.awt.event.KeyEvent e)
|
boolean |
promptAndSetUID(com.ibm.db.base.DatabaseConnectionSpec c)
Displays a logon dialog to obtain the userid and password. |
boolean |
promptAndSetUID(java.lang.String[] uid,
java.lang.String[] pwd)
Displays a logon dialog to obtain the userid and password. |
void |
windowActivated(java.awt.event.WindowEvent e)
Method to handle events for the WindowListener interface. |
void |
windowClosed(java.awt.event.WindowEvent e)
Method to handle events for the WindowListener interface. |
void |
windowClosing(java.awt.event.WindowEvent e)
Method to handle events for the WindowListener interface. |
void |
windowDeactivated(java.awt.event.WindowEvent e)
Method to handle events for the WindowListener interface. |
void |
windowDeiconified(java.awt.event.WindowEvent e)
Method to handle events for the WindowListener interface. |
void |
windowIconified(java.awt.event.WindowEvent e)
Method to handle events for the WindowListener interface. |
void |
windowOpened(java.awt.event.WindowEvent e)
Method to handle events for the WindowListener interface. |
Methods inherited from class java.awt.Dialog |
addNotify,
getTitle,
isModal,
isResizable,
setModal,
setResizable,
setTitle,
show |
Methods inherited from class java.awt.Window |
addWindowListener,
applyResourceBundle,
applyResourceBundle,
dispose,
getFocusOwner,
getInputContext,
getLocale,
getOwnedWindows,
getOwner,
getToolkit,
getWarningString,
isShowing,
pack,
postEvent,
removeWindowListener,
toBack,
toFront |
Methods inherited from class java.awt.Container |
add,
add,
add,
add,
add,
addContainerListener,
countComponents,
deliverEvent,
doLayout,
findComponentAt,
findComponentAt,
getAlignmentX,
getAlignmentY,
getComponent,
getComponentAt,
getComponentAt,
getComponentCount,
getComponents,
getLayout,
getMaximumSize,
getMinimumSize,
getPreferredSize,
insets,
invalidate,
isAncestorOf,
layout,
list,
list,
locate,
minimumSize,
paint,
paintComponents,
preferredSize,
print,
printComponents,
remove,
remove,
removeAll,
removeContainerListener,
removeNotify,
setFont,
setLayout,
update,
validate |
Methods inherited from class java.awt.Component |
action,
add,
addComponentListener,
addFocusListener,
addInputMethodListener,
addKeyListener,
addMouseListener,
addMouseMotionListener,
addPropertyChangeListener,
addPropertyChangeListener,
bounds,
checkImage,
checkImage,
contains,
contains,
createImage,
createImage,
disable,
dispatchEvent,
enable,
enable,
enableInputMethods,
getBackground,
getBounds,
getBounds,
getColorModel,
getComponentOrientation,
getCursor,
getDropTarget,
getFont,
getFontMetrics,
getForeground,
getGraphics,
getHeight,
getInputMethodRequests,
getLocation,
getLocation,
getLocationOnScreen,
getName,
getParent,
getPeer,
getSize,
getSize,
getTreeLock,
getWidth,
getX,
getY,
gotFocus,
handleEvent,
hasFocus,
hide,
imageUpdate,
inside,
isDisplayable,
isDoubleBuffered,
isEnabled,
isFocusTraversable,
isLightweight,
isOpaque,
isValid,
isVisible,
keyDown,
keyUp,
list,
list,
list,
location,
lostFocus,
mouseDown,
mouseDrag,
mouseEnter,
mouseExit,
mouseMove,
mouseUp,
move,
nextFocus,
paintAll,
prepareImage,
prepareImage,
printAll,
remove,
removeComponentListener,
removeFocusListener,
removeInputMethodListener,
removeKeyListener,
removeMouseListener,
removeMouseMotionListener,
removePropertyChangeListener,
removePropertyChangeListener,
repaint,
repaint,
repaint,
repaint,
requestFocus,
reshape,
resize,
resize,
setBackground,
setBounds,
setBounds,
setComponentOrientation,
setCursor,
setDropTarget,
setEnabled,
setForeground,
setLocale,
setLocation,
setLocation,
setName,
setSize,
setSize,
setVisible,
show,
size,
toString,
transferFocus |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public LogonDialog(java.awt.Component c)
Method Detail |
public void actionPerformed(java.awt.event.ActionEvent e)
e
- ActionPerformed eventpublic static java.awt.Frame getFrameForComponent(java.awt.Component parentComponent)
parentComponent
- the Component to check for a Framepublic java.awt.Insets getInsets()
public void keyPressed(java.awt.event.KeyEvent e)
public void keyReleased(java.awt.event.KeyEvent e)
public void keyTyped(java.awt.event.KeyEvent e)
public boolean promptAndSetUID(java.lang.String[] uid, java.lang.String[] pwd)
uid
- the useridpwd
- passwordpublic boolean promptAndSetUID(com.ibm.db.base.DatabaseConnectionSpec c) throws DataException
c
- the DatabaseConnectionSpecpublic void windowActivated(java.awt.event.WindowEvent e)
e
- java.awt.event.WindowEventpublic void windowClosed(java.awt.event.WindowEvent e)
e
- java.awt.event.WindowEventpublic void windowClosing(java.awt.event.WindowEvent e)
e
- java.awt.event.WindowEventpublic void windowDeactivated(java.awt.event.WindowEvent e)
e
- java.awt.event.WindowEventpublic void windowDeiconified(java.awt.event.WindowEvent e)
e
- java.awt.event.WindowEventpublic void windowIconified(java.awt.event.WindowEvent e)
e
- java.awt.event.WindowEventpublic void windowOpened(java.awt.event.WindowEvent e)
e
- java.awt.event.WindowEvent
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |