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)
InitInterface
install
in interface InitInterface
public void uninstall()
InitInterface
uninstall
in interface InitInterface
public void userLogIn(User usr)
InitInterface
userLogIn
in interface InitInterface
usr
- The user that just logged in.public void userLogOff(User usr)
InitInterface
userLogOff
in interface InitInterface
usr
- The user that just logged in.public void showLoginScreen()
InitInterface
Renderer.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 InitInterface
public ColorLAF getColorLAF()
Copyright © 2018 universAAL Consortium. All rights reserved.