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 abstract class TextInputControlConfigurator<T extends javafx.scene.control.TextInputControl>
extends ComponentConfigurator<T>
Configures a
TextInputControl.- Author:
- harald
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidConfigures the control.protected voidMoves 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 voidRemaps certain keys.Methods inherited from class org.tentackle.fx.component.config.ComponentConfigurator
filterKeys, setupFocusHandling, updateModelAndView
-
Constructor Details
-
TextInputControlConfigurator
public TextInputControlConfigurator()Parent constructor.
-
-
Method Details
-
configure
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
Description copied from class:ComponentConfiguratorRemaps certain keys.- Overrides:
remapKeysin classComponentConfigurator<T extends javafx.scene.control.TextInputControl>- Parameters:
control- the control
-
focusNext
Moves the focus logically forward if not a table cell editor.- Parameters:
control- the control
-
focusPrevious
Moves the focus logically back if not a table cell editor.- Parameters:
control- the control
-