|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sdm.quasar.client.core.dialog.services.impl.DefaultDialogLifeCycleService
A simple default implementation of DialogLifeCycleService based upon
DialogManager.
| Constructor Summary | |
DefaultDialogLifeCycleService(DialogManager dialogManager)
Constructor |
|
| Method Summary | |
void |
addLifeCycleListener(LifeCycleListener listener)
Registers an observer of the life cycle of dialogs. |
LifeCycleState |
getLifeCycleState(DialogInstanceId diid)
Returns a LifeCycleState for the given id. |
boolean |
hasDialog(DialogInstanceId diid)
|
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 DefaultDialogLifeCycleService(DialogManager dialogManager)
dialogManager - | Method Detail |
public boolean hasDialog(DialogInstanceId diid)
com.sdm.quasar.client.core.dialog.services.DialogLifeCycleService#hasDialog(com.sdm.quasar.client.core.dialog.DialogInstanceId)public LifeCycleState getLifeCycleState(DialogInstanceId diid)
DialogLifeCycleServiceLifeCycleState for the given id. If the id is a known
dialog instance id, the returned state is equal to the state of the acssociated
dialog instance. Additionally this method assures, that for any
other id given, a valid LifeCycleState is returned.
getLifeCycleState in interface DialogLifeCycleServicediid - the id to get a LifeCycleState for
LifeCycleState for the idDialogLifeCycleService.getLifeCycleState(com.sdm.quasar.client.core.dialog.DialogInstanceId)public void addLifeCycleListener(LifeCycleListener listener)
LifeCycleListenerSupport
addLifeCycleListener in interface LifeCycleListenerSupportlistener - the listener to addLifeCycleListenerSupport.addLifeCycleListener(com.sdm.quasar.client.core.dialog.lifecycle.LifeCycleListener)public void removeLifeCycleListener(LifeCycleListener listener)
LifeCycleListenerSupport
removeLifeCycleListener in interface LifeCycleListenerSupportlistener - the listener to removeLifeCycleListenerSupport.removeLifeCycleListener(com.sdm.quasar.client.core.dialog.lifecycle.LifeCycleListener)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||