Class IdentityTranslator<T>

    • Constructor Detail

      • IdentityTranslator

        public IdentityTranslator​(FxComponent component)
        Creates a dummy translator.
        Parameters:
        component - the component
    • Method Detail

      • toViewFunction

        public java.util.function.Function<T,​T> toViewFunction()
        Description copied from interface: ValueTranslator
        Function to translate a model value to a view value.
        Returns:
        the function
      • toModelFunction

        public java.util.function.Function<T,​T> toModelFunction()
        Description copied from interface: ValueTranslator
        Function to translate a view value to a model value.
        Returns:
        the function