org.universAAL.ui.handler.gui.swing.model
Interface InitInterface

Package class diagram package InitInterface
All Known Implementing Classes:
Init, Init, Init

public interface InitInterface

Interface for the entry point Class for any look and feel package. the initialization class must be named Init

Author:
amedrano

Method Summary
 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.
 

Method Detail

install

void install(Renderer render)
The procedure of installing the LAF. Any actions needed to use the LAF package should be done here.
For example initializing the UIManager.

Parameters:
render -

uninstall

void uninstall()
The procedure of uninstalling the LAF. Any actions needed to stop using the LAF package, and leave the swing system as default should be done here.
For example reestablishing the UIManager.

Parameters:
render -

userLogIn

void userLogIn(User usr)
When a user logs in this method is called. This enables the LAF package to adapt colours and sizes to the user's specific impairments.

Parameters:
usr - The user that just logged in.

userLogOff

void userLogOff(User usr)
When a user logs off this method is called. This enables the LAF package to re-adapt colours and sizes.

Parameters:
usr - The user that just logged in.

showLoginScreen

void showLoginScreen()
Show the Login dialog. this method then must call Renderer.authenticate(String, String) to complete the login process. NOTE: no need to self call 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.



Copyright © 2014 universAAL Consortium. All Rights Reserved.