borland Packages Class Hierarchy jbcl.control Package Index
UserNamePasswordDialog class
java.lang.Object
+----java.awt.Component
+----java.awt.Container
+----java.awt.Window
+----java.awt.Dialog
+----borland.jbcl.control.ButtonDialog
+----borland.jbcl.control.UserNamePasswordDialog
About the UserNamePasswordDialog class
Variables Constructors Properties Methods Event Listeners
Implements ActionListener, KeyListener, ImageObserver, MenuContainer, Serializable, EventListener
This class displays a user name and password dialog for
access to a Database. It hosts an instance of
a UserNamePasswordPanel
and adds to it the OK and Cancel buttons. Pressing the ENTER key saves the values to
the ConnectionDescriptor
object.
UserNamePasswordDialog variables
Variables implemented in this class
UserNamePasswordDialog constructors
UserNamePasswordDialog properties
*Read-only properties **Write-only properties
Properties implemented in this class
UserNamePasswordDialog methods
Methods implemented in this class
- action(java.awt.Event, java.lang.Object)
- add(java.awt.PopupMenu)
- bounds()
- checkImage(java.awt.Image, int, int, java.awt.image.ImageObserver)
- checkImage(java.awt.Image, java.awt.image.ImageObserver)
- contains(int, int)
- contains(java.awt.Point)
- createImage(int, int)
- createImage(java.awt.image.ImageProducer)
- disable()
- disableEvents(long)
- dispatchEvent(java.awt.AWTEvent)
- enable()
- enable(boolean)
- enableEvents(long)
- getFontMetrics(java.awt.Font)
- gotFocus(java.awt.Event, java.lang.Object)
- handleEvent(java.awt.Event)
- hide()
- imageUpdate(java.awt.Image, int, int, int, int, int)
- inside(int, int)
- keyDown(java.awt.Event, int)
- keyUp(java.awt.Event, int)
- list()
- list(java.io.PrintStream)
- list(java.io.PrintWriter)
- location()
- lostFocus(java.awt.Event, java.lang.Object)
- mouseDown(java.awt.Event, int, int)
- mouseDrag(java.awt.Event, int, int)
- mouseEnter(java.awt.Event, int, int)
- mouseExit(java.awt.Event, int, int)
- mouseMove(java.awt.Event, int, int)
- mouseUp(java.awt.Event, int, int)
- move(int, int)
- nextFocus()
- paintAll(java.awt.Graphics)
- prepareImage(java.awt.Image, int, int, java.awt.image.ImageObserver)
- prepareImage(java.awt.Image, java.awt.image.ImageObserver)
- printAll(java.awt.Graphics)
- processComponentEvent(java.awt.event.ComponentEvent)
- processFocusEvent(java.awt.event.FocusEvent)
- processKeyEvent(java.awt.event.KeyEvent)
- processMouseEvent(java.awt.event.MouseEvent)
- processMouseMotionEvent(java.awt.event.MouseEvent)
- remove(java.awt.MenuComponent)
- repaint()
- repaint(int, int, int, int)
- repaint(long)
- repaint(long, int, int, int, int)
- requestFocus()
- reshape(int, int, int, int)
- resize(int, int)
- resize(java.awt.Dimension)
- setBounds(int, int, int, int)
- setLocation(int, int)
- setSize(int, int)
- show(boolean)
- size()
- toString()
- transferFocus()
- add(java.awt.Component)
- add(java.awt.Component, int)
- add(java.awt.Component, java.lang.Object)
- add(java.awt.Component, java.lang.Object, int)
- add(java.lang.String, java.awt.Component)
- addImpl(java.awt.Component, java.lang.Object, int)
- countComponents()
- deliverEvent(java.awt.Event)
- doLayout()
- getComponent(int)
- getComponentAt(int, int)
- getComponentAt(java.awt.Point)
- insets()
- invalidate()
- isAncestorOf(java.awt.Component)
- layout()
- list(java.io.PrintStream, int)
- list(java.io.PrintWriter, int)
- locate(int, int)
- minimumSize()
- paint(java.awt.Graphics)
- paintComponents(java.awt.Graphics)
- preferredSize()
- print(java.awt.Graphics)
- printComponents(java.awt.Graphics)
- processContainerEvent(java.awt.event.ContainerEvent)
- remove(int)
- remove(java.awt.Component)
- removeAll()
- removeNotify()
- update(java.awt.Graphics)
- validate()
- validateTree()
UserNamePasswordDialog event listeners
UserNamePasswordDialog variables
panel
protected UserNamePasswordPanel panel
The instance of the UserNamePasswordPanel.
UserNamePasswordDialog constructors
UserNamePasswordDialog(java.awt.Frame, java.lang.String, borland.sql.dataset.Database)
public UserNamePasswordDialog(java.awt.Frame frame, java.lang.String title, borland.sql.dataset.Database db)
Constructs a UseNamePasswordDialog dialog with the given frame and title.
Parameters:
- frame
- The frame to construct the dialog with.
- title
- The dialog's title.
- db
- The database to access.
UserNamePasswordDialog properties
preferredSize
public Dimension getPreferredSize()
This property is used internally by other classes in the JBCL. You should never use this property directly.
UserNamePasswordDialog methods
invoke(java.awt.Frame, java.lang.String, borland.sql.dataset.Database)
public static boolean invoke(java.awt.Frame frame, java.lang.String title, borland.sql.dataset.Database db)
Invokes the UserName/Password dialog. This method returns true if the OK button was pressed to close the dialog and false if the Cancel button was chosen.
UserNamePasswordDialog event listeners
This class is a source for the following event sets.
For information on the standard AWT event sets, see Standard Java events.
action
public synchronized void addActionListener(java.awt.event.ActionListener l)
public synchronized void removeActionListener(java.awt.event.ActionListener l)
component
public synchronized void addComponentListener(java.awt.event.ComponentListener )
public synchronized void removeComponentListener(java.awt.event.ComponentListener )
container
public synchronized void addContainerListener(java.awt.event.ContainerListener )
public void removeContainerListener(java.awt.event.ContainerListener )
focus
public synchronized void addFocusListener(java.awt.event.FocusListener )
public synchronized void removeFocusListener(java.awt.event.FocusListener )
key
public synchronized void addKeyListener(java.awt.event.KeyListener )
public synchronized void removeKeyListener(java.awt.event.KeyListener )
mouse
public synchronized void addMouseListener(java.awt.event.MouseListener )
public synchronized void removeMouseListener(java.awt.event.MouseListener )
mouseMotion
public synchronized void addMouseMotionListener(java.awt.event.MouseMotionListener )
public synchronized void removeMouseMotionListener(java.awt.event.MouseMotionListener )
window
public synchronized void addWindowListener(java.awt.event.WindowListener )
public synchronized void removeWindowListener(java.awt.event.WindowListener )