Interface LookAndFeelSelectionDialogBuilder


  • public interface LookAndFeelSelectionDialogBuilder
    Builds a dialog for selecting a look and feel.
    • Method Detail

      • changeOnSelection

        LookAndFeelSelectionDialogBuilder changeOnSelection​(boolean changeOnSelection)
        Parameters:
        changeOnSelection - true if the Look and Feel should change dynamically when selecting
        Returns:
        this builder
      • userPreferencePropertyName

        LookAndFeelSelectionDialogBuilder userPreferencePropertyName​(String userPreferencePropertyName)
        Parameters:
        userPreferencePropertyName - the name of the property to use when saving the selected look and feel as a user preference
        Returns:
        this builder
      • selectLookAndFeel

        Optional<LookAndFeelProvider> selectLookAndFeel()
        Displays a dialog allowing the user the select between all available Look and Feels.
        Returns:
        the selected look and feel provider, an empty Optional if cancelled
      • createControl

        Control createControl()
        Creates a Control for selecting the Look and Feel.
        Returns:
        a Control for displaying a dialog for selecting a look and feel