|
|||||||||
| Home >> All >> samples >> [ helloworld3 overview ] | PREV NEXT | ||||||||
C
- CHANGE_TO_FRED - Static variable in class samples.helloworld3.Hello3Controller
- A Control ID.
- changeNameToFred() - Method in class samples.helloworld3.Hello3Model
D
- doChangeToFred() - Method in class samples.helloworld3.Hello3Controller
- On "CHANGE_TO_FRED", set the model's name to "Fred" and refresh the view.
- doGotName() - Method in class samples.helloworld3.Hello3Controller
- On GOT_NAME, switch over to the second View (which will bind to this Controller's model) and show it.
- doHandleControl(Control) - Method in class samples.helloworld3.Hello3Controller
- Respond to GOT_NAME and EXIT.
- doHandleControl(Control) - Method in class samples.helloworld3.LoginController
- Respond to VALIDATE_LOGIN.
- doLoginOK() - Method in class samples.helloworld3.Hello3Controller
- On LoginController.LOGIN_OK, shutdown and abandon the login controller, then show our view.
- doValidateLogin() - Method in class samples.helloworld3.LoginController
- On VALIDATE_LOGIN check the username/password and either throw a ControlException or issue a LOGIN_OK Control to be caught by this Controller's parent up the chain of responsibility.
G
- GOT_NAME - Static variable in class samples.helloworld3.Hello3Controller
- A Control ID.
- getCloseControl() - Method in class samples.helloworld3.Hello3View1
- getCloseControl() - Method in class samples.helloworld3.Hello3View2
- getCloseControl() - Method in class samples.helloworld3.LoginView
- getDisplayModel() - Method in class samples.helloworld3.LoginView
- getName() - Method in class samples.helloworld3.Hello3Model
- getPassword() - Method in class samples.helloworld3.LoginModel
- getTitle() - Method in class samples.helloworld3.Hello3View1
- getTitle() - Method in class samples.helloworld3.Hello3View2
- getTitle() - Method in class samples.helloworld3.LoginView
- getUsername() - Method in class samples.helloworld3.LoginModel
H
- Hello3Controller - class samples.helloworld3.Hello3Controller.
- Hello3Controller() - Constructor for class samples.helloworld3.Hello3Controller
- Hello3Launcher - class samples.helloworld3.Hello3Launcher.
- Create the HelloWorld2 application Controller then start it.
- Hello3Launcher() - Constructor for class samples.helloworld3.Hello3Launcher
- Hello3Model - class samples.helloworld3.Hello3Model.
- Hello3Controller uses one of these to supply data for its Views, and to keep session state in.
- Hello3Model() - Constructor for class samples.helloworld3.Hello3Model
- Hello3View1 - class samples.helloworld3.Hello3View1.
- First View allows users to enter their name and to press a button that issues a CHANGE_TO_FRED Control.
- Hello3View1() - Constructor for class samples.helloworld3.Hello3View1
- Hello3View2 - class samples.helloworld3.Hello3View2.
- Second View says goodbye to the user.
- Hello3View2() - Constructor for class samples.helloworld3.Hello3View2
I
- isValidUser() - Method in class samples.helloworld3.LoginModel
L
- LOGIN_OK - Static variable in class samples.helloworld3.LoginController
- A Control ID to be recognised by parent Controller.
- LoginController - class samples.helloworld3.LoginController.
- LoginController() - Constructor for class samples.helloworld3.LoginController
- LoginModel - class samples.helloworld3.LoginModel.
- LoginController uses one of these to supply data for its Views, and to keep session state in.
- LoginModel() - Constructor for class samples.helloworld3.LoginModel
- LoginView - class samples.helloworld3.LoginView.
- LoginView() - Constructor for class samples.helloworld3.LoginView
- loginController - Variable in class samples.helloworld3.Hello3Controller
- Use this child controller to validate the user at startup.
M
- main(String[]) - Static method in class samples.helloworld3.Hello3Launcher
N
- name - Variable in class samples.helloworld3.Hello3Model
P
- password - Variable in class samples.helloworld3.LoginModel
S
- samples.helloworld3 - package samples.helloworld3
- setName(String) - Method in class samples.helloworld3.Hello3Model
- setPassword(String) - Method in class samples.helloworld3.LoginModel
- setUsername(String) - Method in class samples.helloworld3.LoginModel
- startup() - Method in class samples.helloworld3.Hello3Controller
- On startup, kick off a login controller to validate the user before doing anything else.
- startup() - Method in class samples.helloworld3.LoginController
U
- username - Variable in class samples.helloworld3.LoginModel
V
- VALIDATE_LOGIN - Static variable in class samples.helloworld3.LoginController
- A Control ID.
C D G H I L M N P S U V
|
|||||||||
| Home >> All >> samples >> [ helloworld3 overview ] | PREV NEXT | ||||||||