java.lang.Object
org.tentackle.fx.translate.AbstractValueTranslator<M,String>
org.tentackle.fx.translate.ValueStringTranslator<Date>
org.tentackle.fx.translate.DateStringTranslator
- All Implemented Interfaces:
ValueTranslator<Date,String>
@ValueTranslatorService(modelClass=java.util.Date.class,
viewClass=java.lang.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 org.tentackle.fx.translate.ValueStringTranslator
getComponent, getValidChars, toModelMethods inherited from class org.tentackle.fx.translate.AbstractValueTranslator
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, 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
-