Module org.tentackle.fx
Class ComponentConfigurator<T extends javafx.scene.control.Control>
- java.lang.Object
-
- org.tentackle.fx.component.config.ComponentConfigurator<T>
-
- Type Parameters:
T- the control type
- All Implemented Interfaces:
Configurator<T>
- Direct Known Subclasses:
ButtonBaseConfigurator,ChoiceBoxConfigurator,ComboBoxBaseConfigurator,DatePickerConfigurator,HTMLEditorConfigurator,LabelConfigurator,ListViewConfigurator,TableViewConfigurator,TextInputControlConfigurator,TreeTableViewConfigurator
public class ComponentConfigurator<T extends javafx.scene.control.Control> extends java.lang.Object implements Configurator<T>
Configures a component.The implementation allows overriding the base methods for a single configurator or all configurators via
FxUtilities.- Author:
- harald
-
-
Constructor Summary
Constructors Constructor Description ComponentConfigurator()
-
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 voidremapKeys(T control)Remaps certain keys.protected voidsetupFocusHandling(T control)Adds focus handling to sync with model.
-
-
-
Method Detail
-
configure
public void configure(T control)
Configures the control.- Specified by:
configurein interfaceConfigurator<T extends javafx.scene.control.Control>- Parameters:
control- the control
-
setupFocusHandling
protected void setupFocusHandling(T control)
Adds focus handling to sync with model.- Parameters:
control- the control
-
remapKeys
protected void remapKeys(T control)
Remaps certain keys.- Parameters:
control- the control
-
filterKeys
protected void filterKeys(T control)
Filters certain keys for special features.- Parameters:
control- the control
-
-