Class AbstractValueTranslator<M,​V>

    • Constructor Detail

      • AbstractValueTranslator

        public AbstractValueTranslator​(FxComponent component)
        Creates a string translator for a given text component.
        Parameters:
        component - the component
    • Method Detail

      • isLenient

        public boolean isLenient()
        Description copied from interface: ValueTranslator
        Returns whether parsing to model should be lenient.
        Specified by:
        isLenient in interface ValueTranslator<M,​V>
        Returns:
        true if lenient, false is default
      • setLenient

        public void setLenient​(boolean lenient)
        Sets whether parsing to model should be lenient.
        Parameters:
        lenient - true if lenient