Class DateStringTranslator
java.lang.Object
org.tentackle.fx.translate.AbstractValueTranslator<Date,String>
org.tentackle.fx.translate.ValueStringTranslator<Date>
org.tentackle.fx.translate.DateStringTranslator
- All Implemented Interfaces:
ValueTranslator<Date,String>
@ValueTranslatorService(modelClass=Date.class,
viewClass=String.class)
public class DateStringTranslator
extends ValueStringTranslator<Date>
- 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 ValueStringTranslator
getComponent, getValidChars, toModelMethods inherited from class AbstractValueTranslator
isLenient, isMappingIncomplete, isModelModified, saveModelValue, setLenientMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ValueTranslator
bindingPropertiesUpdated, needsToModelTwice, toView
-
Constructor Details
-
DateStringTranslator
-
-
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
-