public class Init extends Object implements InitInterface
Modifier and Type | Field and Description |
---|---|
static String |
CONF_PREFIX |
Constructor and Description |
---|
Init() |
Modifier and Type | Method and Description |
---|---|
ColorLAF |
getColorLAF() |
JDesktopPane |
getDesktop() |
static Init |
getInstance(Renderer render) |
String |
getMessage(String key)
get the Internationalized message corresponding to the provided Key
|
void |
install(Renderer render)
The procedure of installing the LAF.
|
boolean |
isWindowed()
Tells whether the frame should be full screen or windowed.
|
void |
processPrefs(UIRequest currentDialog) |
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 static final String CONF_PREFIX
public void install(Renderer render)
install
in interface InitInterface
public ColorLAF getColorLAF()
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 JDesktopPane getDesktop()
public void processPrefs(UIRequest currentDialog)
currentDialog
- public String getMessage(String key)
key
- the Key of the message.public boolean isWindowed()
Copyright © 2018 universAAL Consortium. All rights reserved.