Module is.codion.swing.common.ui
Package is.codion.swing.common.ui.laf
Interface LookAndFeelComboBox.Builder
- Enclosing class:
LookAndFeelComboBox
public static interface LookAndFeelComboBox.Builder
Builds a
LookAndFeelComboBox-
Method Summary
Modifier and TypeMethodDescriptionbuild()enabled(@Nullable ObservableState enabled) enableOnSelection(boolean enableOnSelection) includeInstalled(boolean includeInstalled) onSelection(@Nullable Consumer<LookAndFeelEnabler> onSelection)
-
Method Details
-
enableOnSelection
- Parameters:
enableOnSelection- true if look and feel should be enabled when selected- Returns:
- this builder
-
includeInstalled
- Parameters:
includeInstalled- true if installed look and feels should be included- Returns:
- this builder
-
enabled
- Parameters:
enabled- the enabled observer- Returns:
- this builder
-
onSelection
- Parameters:
onSelection- called when the selection changes- Returns:
- this builcer
-
build
LookAndFeelComboBox build()- Returns:
- a new
LookAndFeelComboBox
-