LoginDialog Class Reference
[User interface related classes (windows, dialogs)]

#include <login.h>

Inheritance diagram for LoginDialog:

Window

List of all members.


Detailed Description

The login dialog.

Definition at line 41 of file login.h.


Public Member Functions

 LoginDialog (LoginData *loginData)
 Constructor.
 ~LoginDialog ()
void action (const gcn::ActionEvent &event)
 Called when receiving actions from the widgets.
void keyPressed (gcn::KeyEvent &keyEvent)
 Called when a key is pressed in one of the text fields.

Private Member Functions

bool canSubmit ()
 Returns whether submit can be enabled.

Private Attributes

gcn::TextField * mUserField
gcn::TextField * mPassField
gcn::CheckBox * mKeepCheck
gcn::Button * mOkButton
gcn::Button * mCancelButton
gcn::Button * mRegisterButton
LoginDatamLoginData
DropDownListmServerList

Classes

class  DropDownList
 Helper class to keep a list of all the recent entries for the dropdown. More...

Constructor & Destructor Documentation

LoginDialog::LoginDialog ( LoginData loginData  ) 

Constructor.

See also:
Window::Window

Definition at line 46 of file login.cpp.

LoginDialog::~LoginDialog (  ) 

Definition at line 132 of file login.cpp.


Member Function Documentation

void LoginDialog::action ( const gcn::ActionEvent &  event  ) 

Called when receiving actions from the widgets.

Definition at line 139 of file login.cpp.

void LoginDialog::keyPressed ( gcn::KeyEvent &  keyEvent  ) 

Called when a key is pressed in one of the text fields.

Definition at line 196 of file login.cpp.

bool LoginDialog::canSubmit (  )  [private]

Returns whether submit can be enabled.

This is true in the login state, when all necessary fields have some text.

Definition at line 201 of file login.cpp.


Member Data Documentation

gcn::TextField* LoginDialog::mUserField [private]

Definition at line 91 of file login.h.

gcn::TextField* LoginDialog::mPassField [private]

Definition at line 92 of file login.h.

gcn::CheckBox* LoginDialog::mKeepCheck [private]

Definition at line 98 of file login.h.

gcn::Button* LoginDialog::mOkButton [private]

Definition at line 99 of file login.h.

gcn::Button* LoginDialog::mCancelButton [private]

Definition at line 100 of file login.h.

gcn::Button* LoginDialog::mRegisterButton [private]

Definition at line 101 of file login.h.

Definition at line 103 of file login.h.

Definition at line 129 of file login.h.


The documentation for this class was generated from the following files:

Generated on Sun Apr 26 17:30:43 2009 for The Mana World by  doxygen 1.5.5