Interface DialogBuilder<B extends DialogBuilder<B>>

    • Method Detail

      • owner

        B owner​(Window owner)
        Parameters:
        owner - the dialog owner
        Returns:
        this DialogBuilder instance
      • owner

        B owner​(Component owner)
        Sets the dialog owner as the parent window of the given component. Also sets the locationRelativeTo(Component) using the given component.
        Parameters:
        owner - the dialog parent component
        Returns:
        this builder instance
      • locationRelativeTo

        B locationRelativeTo​(Component component)
        Parameters:
        component - the component for the relative location
        Returns:
        this builder instance
      • title

        B title​(String title)
        Parameters:
        title - the dialog title
        Returns:
        this builder instance
      • titleProvider

        B titleProvider​(ValueObserver<String> titleProvider)
        Parameters:
        titleProvider - a value observer for a dynamic dialog title
        Returns:
        this builder instance
      • icon

        B icon​(ImageIcon icon)
        Parameters:
        icon - the dialog icon
        Returns:
        this builder instance