|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fuin.examples.apps4xxxxx.LoginControllerImpl
@Named(value="loginController") @Usage(value=Intern) @Lazy public class LoginControllerImpl
Example login module and controller implementation.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.fuin.examples.apps4xxxxx.LoginModuleImplIntf |
|---|
LoginModuleImplIntf.LoginListener |
| Constructor Summary | |
|---|---|
LoginControllerImpl()
Default constructor. |
|
| Method Summary | |
|---|---|
void |
cancel()
Cancel the login process. |
Object |
getControllerUI()
|
Object |
getModuleUI()
|
String |
getName()
|
void |
login(LoginModuleImplIntf.LoginListener listener)
Shows a login dialog. |
void |
login(LoginModuleImplIntf.LoginListener listener,
String username)
Shows a login dialog. |
void |
setView(LoginView view)
|
void |
setWindowManager(org.fuin.apps4j.base.WindowManager windowManager)
|
void |
verify(String username,
char[] password)
Try to login with the username and password. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LoginControllerImpl()
| Method Detail |
|---|
public final void setView(LoginView view)
public final void cancel()
cancel in interface org.fuin.apps4j.base.ModuleImplIntfcancel in interface LoginController
public final void verify(String username,
char[] password)
verify in interface LoginControllerusername - Username.password - Password.
public final void login(LoginModuleImplIntf.LoginListener listener,
String username)
login in interface LoginModuleImplIntflistener - Listener.username - Initial user name or null.public final void login(LoginModuleImplIntf.LoginListener listener)
login in interface LoginModuleImplIntflistener - Listener.public final Object getModuleUI()
getModuleUI in interface org.fuin.apps4j.base.ModuleImplIntfpublic final void setWindowManager(org.fuin.apps4j.base.WindowManager windowManager)
public final Object getControllerUI()
getControllerUI in interface org.fuin.apps4j.base.Controller<LoginView>public final String getName()
getName in interface org.fuin.apps4j.base.ModuleImplIntf
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||