Package com.nomagic.ui
Interface DialogParentProvider
- All Known Implementing Classes:
MDDialogParentProvider
@OpenApiAll
public interface DialogParentProvider
Dialog parent provider
-
Method Summary
Modifier and TypeMethodDescriptionReturns owner window(dialog or frame) for dialogsgetDialogOwner
(Component invoker) Returns parent window(dialog or frame) for a dialog which will be invoked by given componentDeprecated.
-
Method Details
-
getDialogParent
Deprecated.usegetDialogOwner()
. Frame is not always a good choice to pass as parent. Parent sometimes should be another dialog, not just a frame.Returns parent frame for dialogs.- Returns:
- parent
-
getDialogOwner
Window getDialogOwner()Returns owner window(dialog or frame) for dialogs- Returns:
- owner window
-
getDialogOwner
Returns parent window(dialog or frame) for a dialog which will be invoked by given component- Parameters:
invoker
- invoker component- Returns:
- owner window of invoker component
-
getDialogOwner()
.