Module is.codion.swing.common.ui
Package is.codion.swing.common.ui.dialog
Interface SelectionDialogBuilderFactory
public interface SelectionDialogBuilderFactory
A factory for selection builders.
-
Method Summary
Modifier and TypeMethodDescriptioncomboBox
(Collection<T> values) files()
<T> ListSelectionDialogBuilder
<T> list
(Collection<T> values) scaling()
-
Method Details
-
files
FileSelectionDialogBuilder files()- Returns:
- a new FileSelectionDialogBuilder
-
list
- Type Parameters:
T
- the value type- Parameters:
values
- the values to select from- Returns:
- a new
JList
based selection dialog builder - Throws:
IllegalArgumentException
- in case values is empty
-
comboBox
- Type Parameters:
T
- the value type- Parameters:
values
- the values to select from- Returns:
- a new
JComboBox
based selection dialog builder - Throws:
IllegalArgumentException
- in case values is empty
-
lookAndFeel
LookAndFeelSelectionDialogBuilder lookAndFeel()- Returns:
- a builder for a dialog for selecting a look and feel
-
scaling
ScalingSelectionDialogBuilder scaling()- Returns:
- a builder for a dialog for selecting the scaling
-