java.lang.Object
org.tentackle.fx.translate.AbstractValueTranslator<LocalTime,String>
org.tentackle.fx.translate.ValueStringTranslator<LocalTime>
org.tentackle.fx.translate.TemporalStringTranslator<LocalTime>
org.tentackle.fx.translate.LocalTimeStringTranslator
- All Implemented Interfaces:
ValueTranslator<LocalTime,
,String> NumberShortcut.WindowProvider
,SmartDateTimeParser.Shortcut
@ValueTranslatorService(modelClass=java.time.LocalTime.class,
viewClass=java.lang.String.class)
public class LocalTimeStringTranslator
extends TemporalStringTranslator<LocalTime>
Translator for
LocalTime
.-
Field Summary
Fields inherited from class org.tentackle.fx.translate.TemporalStringTranslator
DAY_WINDOW, MONTH_WINDOW, REFERENCE_DATE_SUPPLIER, YEAR_WINDOW
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected SmartDateTimeParser
<LocalTime> Creates the parser instance according to the concrete data type.Methods inherited from class org.tentackle.fx.translate.TemporalStringTranslator
connectAsReferenceDateSuppliers, format, getDayWindow, getDefaultDayWindow, getDefaultMonthWindow, getDefaultYearWindow, getFilters, getHandlers, getLastValue, getMonthWindow, getParser, getReferenceDateSupplier, getShortcuts, getYearWindow, parse, parse, test, toModelFunction, toViewFunction
Methods inherited from class org.tentackle.fx.translate.ValueStringTranslator
getComponent, getValidChars, toModel
Methods inherited from class org.tentackle.fx.translate.AbstractValueTranslator
isLenient, isMappingIncomplete, isModelModified, saveModelValue, setLenient
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.tentackle.fx.ValueTranslator
bindingPropertiesUpdated, needsToModelTwice, toView
-
Constructor Details
-
LocalTimeStringTranslator
Creates a translator.- Parameters:
component
- the text component
-
-
Method Details
-
createParser
Description copied from class:TemporalStringTranslator
Creates the parser instance according to the concrete data type.- Specified by:
createParser
in classTemporalStringTranslator<LocalTime>
- Returns:
- the parser
-