| Package | Description |
|---|---|
| com.codename1.properties |
High level property objects that allow us to replace getters/setters in business objects with more convenient
storage/parsing mappings while retaining type safety.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
UiBinding.BooleanConverter
Converts the source value to a Boolean
|
static class |
UiBinding.DateConverter
Converts the source value to a Date
|
static class |
UiBinding.DoubleConverter
Converts the source value to a Double
|
static class |
UiBinding.FloatConverter
Converts the source value to a Float
|
static class |
UiBinding.IntegerConverter
Converts the source value to an Integer
|
static class |
UiBinding.LongConverter
Converts the source value to a Long
|
static class |
UiBinding.MappingConverter
Maps values to other values for conversion in a similar way to a Map this is pretty
useful for API's like picker where we have a list of Strings and we might want a list
of other objects to match every string
|
static class |
UiBinding.StringConverter
Converts the source value to a String
|
| Modifier and Type | Field and Description |
|---|---|
protected UiBinding.ObjectConverter |
UiBinding.ComponentAdapter.toComponentType
Used by the subclass to convert values from the property to the component
|
protected UiBinding.ObjectConverter |
UiBinding.ComponentAdapter.toPropertyType
Used by the subclass to convert values from the component to the property
|
| Constructor and Description |
|---|
CheckBoxRadioSelectionAdapter(UiBinding.ObjectConverter toPropertyType)
Constructs a new binding
|
ComponentAdapter(UiBinding.ObjectConverter toPropertyType,
UiBinding.ObjectConverter toComponentType)
Subclasses usually provide the toComponentType and allow their callers to define
the toPropertyType
|
PickerAdapter(UiBinding.ObjectConverter toPropertyType,
int pickerType)
Constructs a new binding
|
RadioListAdapter(UiBinding.ObjectConverter toPropertyType,
PropertyType... values)
Constructs a new binding
|
TextAreaAdapter(UiBinding.ObjectConverter toPropertyType)
Constructs a new binding
|
TextComponentAdapter(UiBinding.ObjectConverter toPropertyType)
Constructs a new binding
|
Copyright © 2021. All rights reserved.