|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This is a control interface for the lifecycle of a concrete child-dialog of the dialog acting for.
Note: There exists only one working
SubDialogLifeCycleController per child dialog instance.
If a second one is created on the same child, the inactive instance
must throw IllegalStateExceptions
by calling any of it's methods.
| Method Summary | |
void |
activateDialog()
Activates the child-dialog. |
void |
addDisposeCallback(DisposeCallback disposeCallback)
Adds a DisposeCallback, that will be called, when the child dialog controlled was
disposed. |
void |
deactivateDialog()
Deactivates the child-dialog. |
void |
prepareDialog()
Prepares the child-dialog. |
void |
releaseDialog()
Releases the child-dialog. |
| Methods inherited from interface com.sdm.quasar.client.core.dialog.lifecycle.LifeCycleStateProvider |
getLifeCycleState |
| Method Detail |
public void prepareDialog()
Precondition: The parent dialog must be at least preparing. The controlled subdialog must be created.
java.lang.IllegalStateException - if called when controller is not active (replaced by another one)
java.lang.IllegalArgumentException - if subDialog is null
or it controls no direct child of the dialog acting for.public void activateDialog()
Precondition: The parent dialog must be active or activating. The controlled subdialog must be prepeared.
java.lang.IllegalStateException - if called when controller is not active (replaced by another one)
java.lang.IllegalArgumentException - if subDialog is null
or it controls no direct child of the dialog acting for.public void deactivateDialog()
Precondition: The parent dialog must be active or deactivating. The controlled subdialog must be active
java.lang.IllegalStateException - if called when controller is not active (replaced by another one)
java.lang.IllegalArgumentException - if subDialog is null
or it controls no direct child of the dialog acting for.public void releaseDialog()
Precondition: The parent dialog must be prepared or releasing. The controlled subdialog must be prepeared.
java.lang.IllegalStateException - if called when controller is not active (replaced by another one)
java.lang.IllegalArgumentException - if subDialog is null
or it controls no direct child of the dialog acting for.public void addDisposeCallback(DisposeCallback disposeCallback)
DisposeCallback, that will be called, when the child dialog controlled was
disposed.
disposeCallback - the DisposeCallback to call back (not null)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||