public class RevealedDialogDispatcherFactory extends DialogDispatcherFactory
WeakHashMap
). aquireDialog(Window)
DialogDispatcherFactory.DialogDispatcher
Constructor and Description |
---|
RevealedDialogDispatcherFactory() |
Modifier and Type | Method and Description |
---|---|
protected Dialog |
aquireDialog()
Aquire a dialog for the currently active window.
|
protected Dialog |
aquireDialog(Window owner)
Aquire a dialog for the given owning window.
|
protected Dialog |
createDialog(Window owner)
Create a dialog for the given owner.
|
protected void |
initDialog(Dialog dialog) |
protected void |
releaseDialog(Dialog dialog)
Factory method to implement by subclasses to release a dialog.
|
createDispatcher
protected Dialog aquireDialog()
aquireDialog
in class DialogDispatcherFactory
protected Dialog aquireDialog(Window owner)
owner
- owner to aquire dialog forcreateDialog(Window)
protected Dialog createDialog(Window owner)
owner
- owner of dialog to createprotected void initDialog(Dialog dialog)
protected void releaseDialog(Dialog dialog)
DialogDispatcherFactory
releaseDialog
in class DialogDispatcherFactory
dialog
- the dialog to releaseCopyright © 2019. All rights reserved.