|
|||||||||||
| 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.swing.embedding.features.ModalDialogFeature
Feature for dialogs that have modal presentations. It offers convenience access to the parent component needed to create proper modal dialogs.
| Constructor Summary | |
ModalDialogFeature()
|
|
| Method Summary | |
protected void |
dispose()
Called when the feature or dialog is disposed. |
java.awt.Window |
getParentWindow()
|
protected void |
init()
Called when the feature is initializing. |
void |
positionDialogRelativeToParent(java.awt.Window windowToPosition)
Positions the dialog's window relative to the parent window (i.e. centers it) using Window.setLocationRelativeTo(java.awt.Component) |
| Methods inherited from class com.sdm.quasar.client.core.dialog.AbstractFeature |
activate, attachDialogControl, collectSystemInfo, deactivate, disposeFeature, getDialogControl, isInitialized, prepare, release |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ModalDialogFeature()
| 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 AbstractFeature
protected void dispose()
throws DisposeException
AbstractFeature
dispose in class AbstractFeatureDisposeExceptionpublic java.awt.Window getParentWindow()
public void positionDialogRelativeToParent(java.awt.Window windowToPosition)
Window.setLocationRelativeTo(java.awt.Component)
windowToPosition - the window of this dialog
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||