Module org.tentackle.fx
Class ComboBoxBaseConfigurator<T extends javafx.scene.control.ComboBoxBase<?>>
- java.lang.Object
-
- org.tentackle.fx.component.config.ComponentConfigurator<T>
-
- org.tentackle.fx.component.config.ComboBoxBaseConfigurator<T>
-
- Type Parameters:
T- the combobox type
- All Implemented Interfaces:
Configurator<T>
- Direct Known Subclasses:
ColorPickerConfigurator,ComboBoxConfigurator
public class ComboBoxBaseConfigurator<T extends javafx.scene.control.ComboBoxBase<?>> extends ComponentConfigurator<T>
Configures a ComboBoxBase.- Author:
- harald
-
-
Constructor Summary
Constructors Constructor Description ComboBoxBaseConfigurator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(T control)Configures the control.protected voidfilterKeys(T control)Filters certain keys for special features.protected voidupdateModelAndView(FxControl control)Updates the model and the view.-
Methods inherited from class org.tentackle.fx.component.config.ComponentConfigurator
remapKeys, setupFocusHandling
-
-
-
-
Method Detail
-
configure
public void configure(T control)
Description copied from class:ComponentConfiguratorConfigures the control.- Specified by:
configurein interfaceConfigurator<T extends javafx.scene.control.ComboBoxBase<?>>- Overrides:
configurein classComponentConfigurator<T extends javafx.scene.control.ComboBoxBase<?>>- Parameters:
control- the control
-
updateModelAndView
protected void updateModelAndView(FxControl control)
Updates the model and the view. The view update will also trigger dynamic rendering such as mandatory/changeable.- Parameters:
control- the control
-
filterKeys
protected void filterKeys(T control)
Description copied from class:ComponentConfiguratorFilters certain keys for special features.- Overrides:
filterKeysin classComponentConfigurator<T extends javafx.scene.control.ComboBoxBase<?>>- Parameters:
control- the control
-
-