|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ThickClientModule
Interface representing thick client module, which is either specific action executed when activated or set of screens acting together. The lifecycle of the thick client module is 1. constructor 2. init if ever acticated 3. activate if ever acticated 4. optional refresh if invoked by functionality 5. optional pasivate 6. optional activate if previously pasivated + refresh 7. repeat 4 - 6 8. destroy
| Method Summary | |
|---|---|
boolean |
activate(boolean bReactivate)
Activate the module so that user can interact with it. |
void |
destroy()
Destroy the module since the application is shutting down. |
java.lang.Object |
displayMessage(java.lang.String strTitle,
java.lang.String strMessage,
java.lang.Object additionalInfo)
Display message to the user. |
ThickClient |
getClient()
Get client displaing this module. |
java.lang.String |
getName()
Get user friedly name UNIQUE name of the module. |
void |
init(ThickClient client)
Initialize the module for a specified client. |
void |
pasivate()
Pasivate the module since user no longer interacts with it. |
void |
refresh()
Refresh the currently displayed screen of this module with the latest data. |
| Method Detail |
|---|
java.lang.String getName()
ThickClient getClient()
void init(ThickClient client)
throws OSSException
client - - client using this module
OSSException - - an error has occuredboolean activate(boolean bReactivate)
bReactivate - - this is true if the module was pasivated but it is
being immediately activated again because the other
module which caused it's pasivation coun't be
activated again. This is false if some other module
was active and now this module is being activated.
void pasivate()
void refresh()
void destroy()
java.lang.Object displayMessage(java.lang.String strTitle,
java.lang.String strMessage,
java.lang.Object additionalInfo)
strTitle - - title of the message, look at MESSAGE_TITLE_XXX constants
in ThickClienGui interfacestrMessage - - message to displayadditionalInfo - - additional information to pass in, this may be
implementation specific, look at MESSAGE_STYLE_XXX
constants in ThickClienGui interface
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||