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 Details

    • TextInputControlConfigurator

      public TextInputControlConfigurator()
      Parent constructor.
  • Method Details

    • configure

      public void configure(T control)
      Description copied from class: ComponentConfigurator
      Configures the control.
      Specified by:
      configure in interface Configurator<T extends javafx.scene.control.TextInputControl>
      Overrides:
      configure in class ComponentConfigurator<T extends javafx.scene.control.TextInputControl>
      Parameters:
      control - the control
    • remapKeys

      protected void remapKeys(T control)
      Description copied from class: ComponentConfigurator
      Remaps certain keys.
      Overrides:
      remapKeys in class ComponentConfigurator<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