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