|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opensubsystems.core.application.ThickClientModuleImpl
public abstract class ThickClientModuleImpl
Base class for all thick client modules providing basic implementation of common tasks.
| Field Summary | |
|---|---|
protected boolean |
m_bInitialized
Flag telling us if the module was already initialized. |
protected ThickClient |
m_client
Client using this module. |
| Constructor Summary | |
|---|---|
ThickClientModuleImpl()
Constructor |
|
| 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. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.opensubsystems.core.application.ThickClientModule |
|---|
getName |
| Field Detail |
|---|
protected ThickClient m_client
protected boolean m_bInitialized
| Constructor Detail |
|---|
public ThickClientModuleImpl()
| Method Detail |
|---|
public ThickClient getClient()
getClient in interface ThickClientModule
public void init(ThickClient client)
throws OSSException
init in interface ThickClientModuleclient - - client using this module
OSSException - - an error has occuredpublic boolean activate(boolean bReactivate)
activate in interface ThickClientModulebReactivate - - 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.
public void pasivate()
pasivate in interface ThickClientModulepublic void refresh()
refresh in interface ThickClientModulepublic void destroy()
destroy in interface ThickClientModule
public java.lang.Object displayMessage(java.lang.String strTitle,
java.lang.String strMessage,
java.lang.Object additionalInfo)
displayMessage in interface ThickClientModulestrTitle - - 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 | ||||||||