Interface FontSizeSelectionDialogBuilder


public interface FontSizeSelectionDialogBuilder
Builds a dialog for selecting the font size.
  • Method Details

    • owner

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

      FontSizeSelectionDialogBuilder initialSelection(int initialSelection)
      Parameters:
      initialSelection - the initally selected font size ratio, default 100%
      Returns:
      this builder
    • selectFontSize

      void selectFontSize(Consumer<Integer> selectedFontSize)
      Displays a dialog allowing the user the select a font size multiplier.
      Parameters:
      selectedFontSize - called when the OK button is pressed
    • createControl

      Control createControl(Consumer<Integer> selectedFontSize)
      Creates a Control for selecting the font size.
      Parameters:
      selectedFontSize - called when the OK button is pressed
      Returns:
      a Control for displaying a dialog for selecting a font size