Class ValueStringTranslator<M>

    • Constructor Detail

      • ValueStringTranslator

        public ValueStringTranslator​(FxTextComponent component)
        Creates the translator.
        Parameters:
        component - the text component
    • Method Detail

      • toModel

        public M toModel​(java.lang.String text)
        Description copied from interface: ValueTranslator
        Converts a view value to a model value.
        Parameters:
        text - the view's value
        Returns:
        the model's value
      • getValidChars

        public java.lang.String getValidChars()
        Gets the valid input characters.
        Returns:
        the valid input chars, null if unlimited