Interface LookAndFeelSelectionDialogBuilder


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

    • owner

      Parameters:
      owner - the dialog owner
      Returns:
      this builder
    • enableOnSelection

      LookAndFeelSelectionDialogBuilder enableOnSelection(boolean enableOnSelection)
      Parameters:
      enableOnSelection - true if the Look and Feel should be enabled 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