Interface ScalingSelectionDialogBuilder


public interface ScalingSelectionDialogBuilder
Builds a dialog for selecting the scaling.
  • Method Details

    • owner

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

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

      void selectScaling(Consumer<Integer> scalingSelected)
      Displays a dialog allowing the user the select a scaling multiplier.
      Parameters:
      scalingSelected - called when the OK button is pressed
    • createControl

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