Package org.tentackle.fx.translate
package org.tentackle.fx.translate
FX value translators.
The built-in
The built-in
ValueTranslators converting between the model types
(numbers, temporals, enums, money, colors, I18NText, collections, strings, ...)
and the view types of the components.-
ClassesClassDescriptionBase class of a value translator.BMoney translator.
Applies toDMoneyas well.Identity Boolean translator.Byte translator.Identity translator forchar[].CollectionTreeItemTranslator<T, C extends Collection<T>>Collection to TreeItem translator forFxTreeViewandFxTreeTableView.
Used if the model provides a collection.A color/color identity translator.Double translator.Identity enum translator.EnumStringTranslator<T extends Enum<T>>Enum translator for text components.
The view shows the enum'stoString(), which may be localized, and the input is mapped back by comparing withtoString()of all enum constants.Float translator.FractionNumberStringTranslator<M extends Number>Abstract base class for fraction number translators.Editor for the I18NText translations.I18NTexttranslator.
The component shows the text for the current locale.The identity translator base class.
Model and view share the same type, and the values are passed unchanged.Translator forInstant.Integer translator.Translator forLocalDate.Translator forLocalDateTime.Translator forLocalTime.Long translator.NumberStringTranslator<M extends Number>Abstract base class for number translators.ObservableListTranslator<T, C extends List<T>>List translator.
Used for components maintaining a list of elements, such as a table.Translator forOffsetDateTime.Translator forOffsetTime.Short translator.A string/color translator.
Useful for color pickers bound to a string in the model.Identity string translator.TemporalStringTranslator<T extends Temporal>String translator for date- and/or time types based onTemporal.
Parses the input via aSmartDateTimeParser, which supports shortcuts and sliding input windows.TreeItem translator forFxTreeViewandFxTreeTableView.
Used if the model provides a single object, which becomes the root item.A value translator for text components.Translator forZonedDateTime.