Interface DialogParentProvider

All Known Implementing Classes:
MDDialogParentProvider

@OpenApiAll public interface DialogParentProvider
Dialog parent provider
  • Method Details

    • getDialogParent

      @Deprecated Frame getDialogParent()
      Deprecated.
      use getDialogOwner(). 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

      Window getDialogOwner(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