java.lang.Object
org.tentackle.fx.translate.AbstractValueTranslator<T,T>
org.tentackle.fx.translate.IdentityTranslator<T>
- Type Parameters:
T- the type
- All Implemented Interfaces:
ValueTranslator<T,T>
- Direct Known Subclasses:
BooleanBooleanTranslator,CharArrayCharArrayTranslator,ColorColorTranslator,EnumEnumTranslator,StringStringTranslator
The identity translator base class.
- Author:
- harald
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionFunction to translate a view value to a model value.Function to translate a model value to a view value.Methods inherited from class org.tentackle.fx.translate.AbstractValueTranslator
getComponent, isLenient, isMappingIncomplete, isModelModified, saveModelValue, setLenientMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.tentackle.fx.ValueTranslator
bindingPropertiesUpdated, needsToModelTwice, toModel, toView
-
Constructor Details
-
IdentityTranslator
Creates a dummy translator.- Parameters:
component- the component
-
-
Method Details
-
toViewFunction
Description copied from interface:ValueTranslatorFunction to translate a model value to a view value.- Returns:
- the function
-
toModelFunction
Description copied from interface:ValueTranslatorFunction to translate a view value to a model value.- Returns:
- the function
-