Class AbstractTextFieldDelegate<T extends javafx.scene.control.TextInputControl & FxTextComponent>

    • Constructor Detail

      • AbstractTextFieldDelegate

        public AbstractTextFieldDelegate​(T component)
        Creates the delegate.
        Parameters:
        component - the component
    • Method Detail

      • setViewValue

        public void setViewValue​(java.lang.Object value)
        Description copied from interface: FxComponent
        Sets a value in this component.
        The value's type is that of the model.
        Parameters:
        value - is the value to set
      • getViewValue

        public <V> V getViewValue()
        Description copied from interface: FxComponent
        Retrieves the value from this component.
        The value's type is that of the model.
        Type Parameters:
        V - the value's type
        Returns:
        the value shown by the component
      • mapErrorOffsetToCaretPosition

        public void mapErrorOffsetToCaretPosition()
        Description copied from interface: FxTextComponent
        Sets the caret position according to the error offset.
        Does nothing if error offset is null.