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.
-
LoginPanel()
- Constructs a new login panel without an
initial value for the user field.
-
LoginPanel(String)
- Constructs a new login panel.
-
actionPerformed(ActionEvent)
- Action performed when text is entered
-
addLoginListener(LoginListener)
- Adds an MCP command listener
-
focusGained(FocusEvent)
- Handoff focus
-
focusLost(FocusEvent)
- This method does nothing.
-
loginFailed()
- Reset panel in response to a failed login attempt.
-
removeLoginListener(LoginListener)
- Removes an MCP command listener
-
requestFocus()
- hand off focus to the correct field.
LoginPanel
public LoginPanel(String name)
- Constructs a new login panel.
- Parameters:
- name - the initial value for the user field
LoginPanel
public LoginPanel()
- Constructs a new login panel without an
initial value for the user field.
loginFailed
public void loginFailed()
- Reset panel in response to a failed login attempt.
requestFocus
public void requestFocus()
- hand off focus to the correct field.
- Overrides:
- requestFocus in class Component
focusGained
public void focusGained(FocusEvent e)
- Handoff focus
focusLost
public void focusLost(FocusEvent e)
- This method does nothing.
actionPerformed
public void actionPerformed(ActionEvent e)
- Action performed when text is entered
addLoginListener
public synchronized void addLoginListener(LoginListener ll)
- Adds an MCP command listener
removeLoginListener
public synchronized void removeLoginListener(LoginListener ll)
- Removes an MCP command listener
All Packages Class Hierarchy This Package Previous Next Index