|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--i3mclient.i3m.LoginGUI
Creates the login window.
| Constructor Summary | |
LoginGUI(Shell parentWindow)
Constructor. |
|
| Method Summary | |
void |
addLoginGUIListener(LoginGUIListener listener)
Adds a loginGUI listener. |
void |
errorMessage(String message)
Shows a message box with an error message. |
Shell |
getWindow()
|
void |
i3mServerException(I3MServerException exception)
Called if a server exception is thrown. |
void |
loginAccountDone(long userID)
Called if loginAccount was successfull. |
void |
removeLoginGUIListener(LoginGUIListener listener)
Remove a loginGUI listener. |
void |
setGUIEnabled(boolean enabled)
En- or disable all gui elements. |
void |
setUserIDText(String text)
Set a userID in the userID input widget. |
void |
userIDReceived(long newUserID)
Called if createAccount was successfull. |
void |
widgetDefaultSelected(SelectionEvent arg0)
|
void |
widgetDisposed(DisposeEvent arg0)
|
void |
widgetSelected(SelectionEvent event)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LoginGUI(Shell parentWindow)
parentWindow - The parent window of the new created login shell.| Method Detail |
public void setUserIDText(String text)
text - The text which should be inserted in the userID input widgetpublic Shell getWindow()
public void widgetSelected(SelectionEvent event)
widgetSelected in interface SelectionListenerpublic void errorMessage(String message)
message - The error message which should appear in the message boxpublic void widgetDefaultSelected(SelectionEvent arg0)
widgetDefaultSelected in interface SelectionListenerpublic void userIDReceived(long newUserID)
SMCreateAccountListener
userIDReceived in interface SMCreateAccountListenernewUserID - The new userID of the userpublic void i3mServerException(I3MServerException exception)
ServerMethodListener
i3mServerException in interface ServerMethodListenerexception - The converted I3M-server exceptionpublic void loginAccountDone(long userID)
SMLoginAccountListener
loginAccountDone in interface SMLoginAccountListeneruserID - The userID of the user who logged inpublic void addLoginGUIListener(LoginGUIListener listener)
listener - The listener whoch will be added.public void removeLoginGUIListener(LoginGUIListener listener)
listener - The listener which will be removed.public void setGUIEnabled(boolean enabled)
enabled - Enable or disable.public void widgetDisposed(DisposeEvent arg0)
widgetDisposed in interface DisposeListener
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||