Package com.nomagic.ui
Interface DialogParentProvider
-
- All Known Implementing Classes:
MDDialogParentProvider
@OpenApiAll public interface DialogParentProvider
Dialog parent provider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.awt.Window
getDialogOwner()
Returns owner window(dialog or frame) for dialogsjava.awt.Window
getDialogOwner(java.awt.Component invoker)
Returns parent window(dialog or frame) for a dialog which will be invoked by given componentjava.awt.Frame
getDialogParent()
Deprecated.usegetDialogOwner()
.
-
-
-
Method Detail
-
getDialogParent
@Deprecated java.awt.Frame 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
java.awt.Window getDialogOwner()
Returns owner window(dialog or frame) for dialogs- Returns:
- owner window
-
getDialogOwner
java.awt.Window getDialogOwner(java.awt.Component invoker)
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
-
-