public class Init extends Object implements InitInterface
| Constructor and Description |
|---|
Init() |
| Modifier and Type | Method and Description |
|---|---|
ColorLAF |
getColorLAF() |
void |
install(Renderer render)
The procedure of installing the LAF.
|
void |
showLoginScreen()
Show the Login dialog.
|
void |
uninstall()
The procedure of uninstalling the LAF.
|
void |
userLogIn(User usr)
When a user logs in this method is called.
|
void |
userLogOff(User usr)
When a user logs off this method is called.
|
public void install(Renderer render)
InitInterfaceinstall in interface InitInterfacepublic void uninstall()
InitInterfaceuninstall in interface InitInterfacepublic void userLogIn(User usr)
InitInterfaceuserLogIn in interface InitInterfaceusr - The user that just logged in.public void userLogOff(User usr)
InitInterfaceuserLogOff in interface InitInterfaceusr - The user that just logged in.public void showLoginScreen()
InitInterfaceRenderer.authenticate(String, String) to complete the login
process. NOTE: no need to self call
InitInterface.userLogIn(User), that is handled by
Renderer.authenticate(String, String) NOTE2: if
Renderer.authenticate(String, String) fails no recall this method
is done, this method should manage failed attempts.showLoginScreen in interface InitInterfacepublic ColorLAF getColorLAF()
Copyright © 2018 universAAL Consortium. All rights reserved.