All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.mitre.cvw.mudsy.gui.LoginPanel

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----org.mitre.cvw.mudsy.gui.LoginPanel

public final class LoginPanel
extends Panel
implements ActionListener, FocusListener
Login panel.


Constructor Index

 o LoginPanel()
Constructs a new login panel without an initial value for the user field.
 o LoginPanel(String)
Constructs a new login panel.

Method Index

 o actionPerformed(ActionEvent)
Action performed when text is entered
 o addLoginListener(LoginListener)
Adds an MCP command listener
 o focusGained(FocusEvent)
Handoff focus
 o focusLost(FocusEvent)
This method does nothing.
 o loginFailed()
Reset panel in response to a failed login attempt.
 o removeLoginListener(LoginListener)
Removes an MCP command listener
 o requestFocus()
hand off focus to the correct field.

Constructors

 o LoginPanel
 public LoginPanel(String name)
Constructs a new login panel.

Parameters:
name - the initial value for the user field
 o LoginPanel
 public LoginPanel()
Constructs a new login panel without an initial value for the user field.

Methods

 o loginFailed
 public void loginFailed()
Reset panel in response to a failed login attempt.

 o requestFocus
 public void requestFocus()
hand off focus to the correct field.

Overrides:
requestFocus in class Component
 o focusGained
 public void focusGained(FocusEvent e)
Handoff focus

 o focusLost
 public void focusLost(FocusEvent e)
This method does nothing.

 o actionPerformed
 public void actionPerformed(ActionEvent e)
Action performed when text is entered

 o addLoginListener
 public synchronized void addLoginListener(LoginListener ll)
Adds an MCP command listener

 o removeLoginListener
 public synchronized void removeLoginListener(LoginListener ll)
Removes an MCP command listener


All Packages  Class Hierarchy  This Package  Previous  Next  Index