|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sdm.quasar.client.core.dialog.impl.DefaultLifeCycleListenerSupport
This helper class eases the implementation of LifeCycleListenerSupport.
It implements the interface and manages registered TechnicalDialogLifeCycleListener's.
To use this helper, an implementor of LifeCycleListenerSupport should delegate
ther interface methods to this helper class instance and call the lifecycle-methods
on the helper if notification should be sent.
| Constructor Summary | |
DefaultLifeCycleListenerSupport()
Creates a new DefaultLifeCycleListenerSupport. |
|
| Method Summary | |
void |
addLifeCycleListener(LifeCycleListener listener)
Registers an observer of the life cycle of dialogs. |
void |
finishLifeCycleNotification(DialogInstanceId diid)
Finishes notifying all current lifecycle notifications of this DefaultLifeCycleListenerSupport.
|
void |
lifeCycleStateChanged(DialogInstanceId diid,
LifeCycleState state,
LifeCycleState previousState,
LifeCycleCompletionLevel completionLevel)
Notification: A dialog has changed from DialogLifeCycleState fromDialogLifeCycleState to
|
void |
removeLifeCycleListener(LifeCycleListener listener)
Unregisters an observer of the life cycle of dialogs. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultLifeCycleListenerSupport()
DefaultLifeCycleListenerSupport.
| Method Detail |
public void addLifeCycleListener(LifeCycleListener listener)
LifeCycleListenerSupport
addLifeCycleListener in interface LifeCycleListenerSupportlistener - the listener to addcom.sdm.quasar.client.comp.dlgdef.mgmt.TechnicalDialogLifeCycleObservable#addDialogLifeCycleListener(com.sdm.quasar.client.comp.dlgdef.mgmt.TechnicalDialogLifeCycleListener)public void removeLifeCycleListener(LifeCycleListener listener)
LifeCycleListenerSupport
removeLifeCycleListener in interface LifeCycleListenerSupportlistener - the listener to removecom.sdm.quasar.client.comp.dlgdef.mgmt.TechnicalDialogLifeCycleObservable#removeDialogLifeCycleListener(com.sdm.quasar.client.comp.dlgdef.mgmt.TechnicalDialogLifeCycleListener)
public void lifeCycleStateChanged(DialogInstanceId diid,
LifeCycleState state,
LifeCycleState previousState,
LifeCycleCompletionLevel completionLevel)
LifeCycleListenerDialogLifeCycleState fromDialogLifeCycleState to
lifeCycleStateChanged in interface LifeCycleListenerdiid - The instance is of the dialog, that has changed the statestate - the LifeCycleState statepreviousState - the previous LifeCycleStatecompletionLevel - the completion level of the state if in a transition stateLifeCycleListener.lifeCycleStateChanged(com.sdm.quasar.client.core.dialog.DialogInstanceId, com.sdm.quasar.client.core.dialog.lifecycle.LifeCycleState, com.sdm.quasar.client.core.dialog.lifecycle.LifeCycleState, com.sdm.quasar.client.core.dialog.lifecycle.LifeCycleCompletionLevel)public void finishLifeCycleNotification(DialogInstanceId diid)
DefaultLifeCycleListenerSupport.
all notification were finished
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||