|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sptci.system.LoginController.LoginListener
class LoginController.LoginListener
The action listener that is used to trigger initialisation of a
telnet session with the server.
| Constructor Summary | |
|---|---|
LoginController.LoginListener()
|
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent event)
Implementation of the ActionListener interface. |
(package private) void |
displayError(String title,
String message)
Display an ErrorPane with the title and
message specified. |
(package private) void |
handleException(AuthenticationFailedException afex)
Handles an AuthenticationFailedException when user enters
invalid credentials. |
(package private) void |
handleException(IOException ioex)
Handles an IOException when user tries to log on. |
(package private) void |
login()
Login the user to the telnet server. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
LoginController.LoginListener()
| Method Detail |
|---|
public void actionPerformed(ActionEvent event)
ActionListener interface. Handles
login events triggered by Controller.view.
actionPerformed in interface ActionListenerLoginPaneController.checkView(),
LoginController.checkRoot(),
displayError(java.lang.String, java.lang.String),
login()void login()
telnet server.
void handleException(AuthenticationFailedException afex)
AuthenticationFailedException when user enters
invalid credentials.
afex - The exception that was thrown.displayError(java.lang.String, java.lang.String)void handleException(IOException ioex)
IOException when user tries to log on.
ioex - The exception that was thrown.displayError(java.lang.String, java.lang.String)
void displayError(String title,
String message)
ErrorPane with the title and
message specified.
title - The key for the localised title to displaymessage - The key for the localised message to display
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||