Module is.codion.swing.common.ui
Package is.codion.swing.common.ui.dialog
Interface FontSizeSelectionDialogBuilder
public interface FontSizeSelectionDialogBuilder
Builds a dialog for selecting the font size.
-
Method Summary
Modifier and TypeMethodDescriptionCreates aControl
for selecting the font size.owner
(JComponent owner) Displays a dialog allowing the user the select a font size multiplier.
-
Method Details
-
owner
- Parameters:
owner
- the dialog owner- Returns:
- this builder
-
selectFontSize
OptionalInt selectFontSize()Displays a dialog allowing the user the select a font size multiplier.- Returns:
- the selected font size multiplier, an empty Optional if cancelled
-
createControl
Control createControl()Creates aControl
for selecting the font size.- Returns:
- a Control for displaying a dialog for selecting a font size
-