Module org.tentackle.fx
Class ChoiceBoxConfigurator<T extends javafx.scene.control.ChoiceBox<?>>
- java.lang.Object
-
- org.tentackle.fx.component.config.ComponentConfigurator<T>
-
- org.tentackle.fx.component.config.ChoiceBoxConfigurator<T>
-
- Type Parameters:
T- the choicebox type
- All Implemented Interfaces:
Configurator<T>
@ConfiguratorService(javafx.scene.control.ChoiceBox.class) public class ChoiceBoxConfigurator<T extends javafx.scene.control.ChoiceBox<?>> extends ComponentConfigurator<T>
Configures a ChoiceBox.- Author:
- harald
-
-
Constructor Summary
Constructors Constructor Description ChoiceBoxConfigurator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(T control)Configures the control.protected voidupdateModelAndView(FxControl control)Updates the model and the view.-
Methods inherited from class org.tentackle.fx.component.config.ComponentConfigurator
filterKeys, 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.ChoiceBox<?>>- Overrides:
configurein classComponentConfigurator<T extends javafx.scene.control.ChoiceBox<?>>- 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 choicebox
-
-