borland.jbcl Packages  borland.jbcl Class Hierarchy  borland.jbcl.control 

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 MenuContainer, ActionListener, KeyListener, ImageObserver, Serializable, EventListener

This class displays a user name and password dialog for access to a Database.

See also: borland.jbcl.controlUserNamePasswordPanel


UserNamePasswordDialog variables

Variables implemented in this class

Variables implemented in borland.jbcl.control.ButtonDialog

Variables implemented in java.awt.Component

UserNamePasswordDialog constructors

UserNamePasswordDialog properties

*Read-only properties **Write-only properties

Properties implemented in this class

Properties implemented in borland.jbcl.control.ButtonDialog

Properties implemented in java.awt.Component

Properties implemented in java.awt.Container

Properties implemented in java.awt.Dialog

Properties implemented in java.awt.Window

Properties implemented in java.lang.Object

UserNamePasswordDialog methods

Methods implemented in this class

Methods implemented in borland.jbcl.control.ButtonDialog

Methods implemented in java.awt.Component

Methods implemented in java.awt.Container

Methods implemented in java.awt.Dialog

Methods implemented in java.awt.Window

Methods implemented in java.lang.Object

UserNamePasswordDialog event listeners


UserNamePasswordDialog variables

panel

  protected UserNamePasswordPanel panel

UserNamePasswordDialog constructors

UserNamePasswordDialog(java.awt.Frame, java.lang.String, borland.jbcl.dataset.Database)

  public UserNamePasswordDialog(java.awt.Frame frame, java.lang.String title, borland.jbcl.dataset.Database db)
Constructs a UserNamePasswordDialog dialog.

UserNamePasswordDialog properties

preferredSize

 public Dimension getPreferredSize()

UserNamePasswordDialog methods

invoke(java.awt.Frame, java.lang.String, borland.jbcl.dataset.Database)

  public static boolean invoke(java.awt.Frame frame, java.lang.String title, borland.jbcl.dataset.Database db)
Invokes the UserName/Password dialog.

This method returns true if OK was chosen or false if Cancel 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 l)
 public synchronized void removeComponentListener(java.awt.event.ComponentListener l)

container

 public synchronized void addContainerListener(java.awt.event.ContainerListener l)
 public void removeContainerListener(java.awt.event.ContainerListener l)

focus

 public synchronized void addFocusListener(java.awt.event.FocusListener l)
 public synchronized void removeFocusListener(java.awt.event.FocusListener l)

key

 public synchronized void addKeyListener(java.awt.event.KeyListener l)
 public synchronized void removeKeyListener(java.awt.event.KeyListener l)

mouse

 public synchronized void addMouseListener(java.awt.event.MouseListener l)
 public synchronized void removeMouseListener(java.awt.event.MouseListener l)

mouseMotion

 public synchronized void addMouseMotionListener(java.awt.event.MouseMotionListener l)
 public synchronized void removeMouseMotionListener(java.awt.event.MouseMotionListener l)

window

 public synchronized void addWindowListener(java.awt.event.WindowListener l)
 public synchronized void removeWindowListener(java.awt.event.WindowListener l)