Interface DialogParentProvider

  • All Known Implementing Classes:
    MDDialogParentProvider

    @OpenApiAll
    public interface DialogParentProvider
    Dialog parent provider
    • Method Detail

      • getDialogParent

        @Deprecated
        java.awt.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

        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