|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sdm.quasar.client.core.dialog.AbstractFeature
com.sdm.quasar.client.showcase.swing.embedding.dependent.DependentWindow
This is an example of a dialog that is dependent on the life cycle of a parent dialog and whose own visual representation is a not modal window, i.e. it is not visually embedded in the parent dialog's visual representation.
The window offers an input field and two buttons that close the window, one committing the input and on ignoring it.
This dialog offers the DependentWindowService
that allows the parent dialog to access the committed state and the user's input.
| Constructor Summary | |
DependentWindow()
|
|
| Method Summary | |
protected void |
activate()
Displays our #frame. |
protected void |
deactivate()
Hides our #frame |
protected void |
dispose()
Called when the feature or dialog is disposed. |
protected void |
handleCancel()
Called when the user presses #cancelButton
or closes the window, requests deactivation using
ActivationService.requestDeactivate(). |
protected void |
handleOk()
Called when the user presses #okButton, requests deactivation using
ActivationService.requestDeactivate(). |
protected void |
init()
Called when the feature is initializing. |
protected void |
prepare()
Creates the visual representation of the dialog. |
protected void |
release()
Disposes our #frame. |
| Methods inherited from class com.sdm.quasar.client.core.dialog.AbstractFeature |
attachDialogControl, collectSystemInfo, disposeFeature, getDialogControl, isInitialized |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DependentWindow()
| Method Detail |
protected void init()
AbstractFeatureDialogControl installed to. To access the
DialogControl use the AbstractFeature.getDialogControl() method.
Override this method to perform some action on initialization e.g. register public services.
init in class AbstractFeaturecom.sdm.quasar.client.core.dialog.features.AbstractFeature#dispose()
protected void dispose()
throws DisposeException
AbstractFeature
dispose in class AbstractFeatureDisposeExceptioncom.sdm.quasar.client.core.dialog.features.AbstractFeature#dispose()protected void prepare()
prepare in class AbstractFeatureprotected void activate()
#frame.
activate in class AbstractFeatureprotected void deactivate()
#frame
deactivate in class AbstractFeatureprotected void release()
#frame.
release in class AbstractFeatureprotected void handleCancel()
#cancelButton
or closes the window, requests deactivation using
ActivationService.requestDeactivate().
protected void handleOk()
#okButton, requests deactivation using
ActivationService.requestDeactivate().
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||