Module org.tentackle.fx
Class TextInputControlConfigurator<T extends javafx.scene.control.TextInputControl>
- java.lang.Object
-
- org.tentackle.fx.component.config.ComponentConfigurator<T>
-
- org.tentackle.fx.component.config.TextInputControlConfigurator<T>
-
- Type Parameters:
T- the text field type
- All Implemented Interfaces:
Configurator<T>
- Direct Known Subclasses:
PasswordFieldConfigurator,TextAreaConfigurator,TextFieldConfigurator
public class TextInputControlConfigurator<T extends javafx.scene.control.TextInputControl> extends ComponentConfigurator<T>
Configures a TextInputControl.- Author:
- harald
-
-
Constructor Summary
Constructors Constructor Description TextInputControlConfigurator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(T control)Configures the control.protected voidfocusNext(T control)Moves the focus logically forward if not a table cell editor.protected voidfocusPrevious(T control)Moves the focus logically back if not a table cell editor.protected voidremapKeys(T control)Remaps certain keys.-
Methods inherited from class org.tentackle.fx.component.config.ComponentConfigurator
filterKeys, 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.TextInputControl>- Overrides:
configurein classComponentConfigurator<T extends javafx.scene.control.TextInputControl>- Parameters:
control- the control
-
remapKeys
protected void remapKeys(T control)
Description copied from class:ComponentConfiguratorRemaps certain keys.- Overrides:
remapKeysin classComponentConfigurator<T extends javafx.scene.control.TextInputControl>- Parameters:
control- the control
-
focusNext
protected void focusNext(T control)
Moves the focus logically forward if not a table cell editor.- Parameters:
control- the control
-
focusPrevious
protected void focusPrevious(T control)
Moves the focus logically back if not a table cell editor.- Parameters:
control- the control
-
-