| Modifier and Type | Method and Description |
|---|---|
IConverter<T> |
Text.getConverter()
|
| Modifier and Type | Method and Description |
|---|---|
void |
Text.setConverter(IConverter<T> converter)
|
| Modifier and Type | Method and Description |
|---|---|
IConverter<T> |
PropertyMetaModel.getConverter()
Returns the user-specified converter to use when converting this property's value to and from string.
|
| Modifier and Type | Method and Description |
|---|---|
<X,TT extends IConverter<X>> |
DisplayPropertyMetaModel.getAsString(Object root)
Returns the attribute as a string value.
|
| Modifier and Type | Method and Description |
|---|---|
IConverter<T> |
ExpandedDisplayProperty.getBestConverter() |
IConverter<T> |
AbstractPropertyMetaModel.getConverter() |
IConverter<T> |
BasicPropertyMetaModel.getConverter() |
IConverter<T> |
PropertyMetaModelWrapper.getConverter() |
IConverter<T> |
ExpandedDisplayProperty.getConverter() |
IConverter<T> |
PathPropertyMetaModel.getConverter() |
IConverter<?> |
DisplayPropertyMetaModel.getConverter() |
| Modifier and Type | Method and Description |
|---|---|
void |
DisplayPropertyMetaModel.setConverter(IConverter<?> converter) |
void |
BasicPropertyMetaModel.setConverter(IConverter<T> converter) |
| Modifier and Type | Method and Description |
|---|---|
IConverter<T> |
DisplaySpan.getConverter()
|
| Modifier and Type | Method and Description |
|---|---|
void |
DisplaySpan.setConverter(IConverter<T> converter)
|
| Modifier and Type | Method and Description |
|---|---|
IConverter<T> |
ColumnDef.getConverter() |
| Modifier and Type | Method and Description |
|---|---|
ColumnDef<I,T> |
ColumnDef.converter(IConverter<T> converter) |
void |
SimpleColumnDef.setPresentationConverter(IConverter<T> valueConverter) |
| Modifier and Type | Class and Description |
|---|---|
class |
BooleanConverter |
class |
DateConverter |
class |
DateTimeConverter
Converter for Date and Time.
|
class |
DefaultConverter
The converter of last resort, accepting anything.
|
class |
DomainListConverter
Converts strings for properties whose domain is a value list (enum, boolean), using the metadata provided for that property.
|
class |
DoubleConverter
DoubleConverter is now made as NumberConverter sub class.
|
class |
DoubleSizeConverter
Converter to convert a computer "size" to a size in bytes, KB, MB, GB etc.
|
class |
DummyConverter |
class |
EnumConverter<E extends Enum<E>>
This generic converter for enums should be used only as convertObjectToString renderer.
|
class |
IntSizeConverter
Converter to convert a computer "size" to a size in bytes, KB, MB, GB etc.
|
class |
LongSizeConverter
Converter to convert a computer "size" to a size in bytes, KB, MB, GB etc.
|
class |
MinutesConverter
Converts a double presentation to minutes considering
whole part of number as number of hours, and
digits after decimal point as minutes.
|
class |
MoneyBigDecimalFullConverter |
class |
MoneyBigDecimalNoSign |
class |
MoneyBigDecimalNumeric |
class |
MoneyBigDecimalTruncatedWithSign |
class |
MoneyDoubleFullConverter
This converts a Double containing a monetary amount to a full representation
including thousands separator and valuta indicator.
|
class |
MoneyDoubleNoSign
Converter for
NumericPresentation.MONEY_NO_SYMBOL. |
class |
MoneyDoubleNumeric
Converter for
NumericPresentation.MONEY_NUMERIC. |
class |
MoneyDoubleTruncatedWithSign
Converter converting to a full money representation, including currency sign, thousands separators; this removes any zero fraction
so 1000.00 is rendered like E 1,000
|
class |
MsDurationConverter |
class |
NumberConverter<T extends Number>
Parameterizable converter for numbers.
|
class |
OldSecondDurationConverter |
class |
PercentageDoubleConverter
This converts a Double containing a percentage amount to a full representation
including percentage sign.
|
class |
SecondDurationConverter |
class |
TimeOnlyConverter |
class |
TimeToSecondsConverter
Converts time in a format [hh:]mm into an integer holding the number of seconds.
|
| Modifier and Type | Method and Description |
|---|---|
static <X,T extends IConverter<X>> |
ConverterRegistry.convertStringToValue(Class<T> clz,
Locale loc,
String in)
Convert a String value to some object, using the specified converter.
|
static <X,T extends IConverter<X>> |
ConverterRegistry.convertStringToValue(Class<T> clz,
String in)
Convert a String value to some object, using the specified converter.
|
static <X,T extends IConverter<X>> |
ConverterRegistry.convertValueToString(Class<T> clz,
Locale loc,
X in)
Convert some object to a String value, using the specified converter.
|
static <X,T extends IConverter<X>> |
ConverterRegistry.convertValueToString(Class<T> clz,
X in)
Convert some object to a String value, using the specified converter.
|
<X,T extends IConverter<X>> |
BooleanConverterFactory.createConverter(Class<X> clz,
PropertyMetaModel<X> pmm) |
<X,T extends IConverter<X>> |
IConverterFactory.createConverter(Class<X> clz,
PropertyMetaModel<X> pmm)
Return the converter which properly converts the specified class and meta model.
|
<X,T extends IConverter<X>> |
DefaultConverterFactory.createConverter(Class<X> clz,
PropertyMetaModel<X> pmm) |
<X,T extends IConverter<X>> |
MoneyConverterFactory.createConverter(Class<X> clz,
PropertyMetaModel<X> pmm)
Create the appropriate converter.
|
<X,T extends IConverter<X>> |
DoubleFactory.createConverter(Class<X> clz,
PropertyMetaModel<X> pmm) |
<X,T extends IConverter<X>> |
DomainListConverterFactory.createConverter(Class<X> clz,
PropertyMetaModel<X> pmm) |
<X,T extends IConverter<X>> |
EnumFactory.createConverter(Class<X> clz,
PropertyMetaModel<X> pmm) |
<X,T extends IConverter<X>> |
DateConverterFactory.createConverter(Class<X> clz,
PropertyMetaModel<X> pmm) |
static <X,T extends IConverter<X>> |
ConverterRegistry.getConverterInstance(Class<T> clz)
Get an instance of a given converter type.
|
| Modifier and Type | Method and Description |
|---|---|
static IConverter<BigDecimal> |
MoneyConverterFactory.createBigDecimalMoneyConverters(NumericPresentation np)
Returns one of the converter classes for converting a double into one of the numericPresentations.
|
static IConverter<Double> |
MoneyConverterFactory.createDoubleMoneyConverters(NumericPresentation np)
Returns one of the converter classes for converting a double into one of the numericPresentations.
|
static <T extends Number> |
NumericUtil.createNumberConverter(Class<T> type,
NumericPresentation np,
int scale) |
static <X> IConverter<X> |
ConverterRegistry.findBestConverter(PropertyMetaModel<X> pmm)
Obtain the very best presentation converter we can find for the specified property.
|
static <X> IConverter<X> |
ConverterRegistry.findConverter(Class<X> clz)
Finds the best converter to convert a value of the specified type to a string.
|
static <X> IConverter<X> |
ConverterRegistry.findConverter(Class<X> clz,
PropertyMetaModel<X> pmm)
Finds the best converter to convert a value of the specified type (and the optionally specified metadata) to a string.
|
static <X> IConverter<X> |
ConverterRegistry.findURLConverter(Class<X> totype)
Find an URL converter to convert to the given type.
|
IConverter<T> |
IConvertable.getConverter()
Returns the class of the converter.
|
static <X> IConverter<X> |
ConverterRegistry.getConverter(Class<X> clz,
PropertyMetaModel<X> pmm)
Gets the best converter to convert a value of the specified type (and the optionally specified metadata) to a string.
|
| Modifier and Type | Method and Description |
|---|---|
static <X> void |
ConverterRegistry.registerURLConverter(Class<X> totype,
IConverter<X> c)
Register an URL converter for the specified class.
|
void |
IConvertable.setConverter(IConverter<T> converter)
Sets the Converter to use to convert the value to a string and vice versa.
|
| Modifier and Type | Method and Description |
|---|---|
<T,C extends IConverter<T>> |
NodeContainer.setValue(Class<C> conv,
T value)
Put a converted value in this cell's text.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PropertyValueConverter<T>
This converts an object to a string by creating a string from a list of
property values off that object.
|
Copyright © 2017 etc.to. All rights reserved.