Package com.codename1.properties
package 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.
-
ClassDescriptionThis is the boolean specific version of propertyByteProperty<K>This is the byte specific version of numeric propertyCharProperty<K>This is the char specific version of numeric propertyCollectionProperty<T,
K> Base class for a property as a collection which can contain multiple elements withinThis is the double specific version of numeric propertyThis is the float specific version of numeric propertyInstant UI generates a user interface for editing a property business object based on common conventions and settings within the properties.IntProperty<K>This is the integer specific version of numeric propertyListProperty<T,K> Base class for a property as a list which can contain multiple elements withinLongProperty<K>This is the long specific version of numeric propertyInstances of this class adapt an arbitrary object type so a property can appear differently when it's placed into a Map or initialized from a Map.MapProperty<T,J, K> Base class for a property as a Map which can contain multiple elements within itNumericProperty<T,K> This is the base class to all number properties, it introduces nullability and the ability to convert to all number types.Binds an object to thecom.codename1.io.PreferencesAPI for automatic persistent storage.Property<T,K> Base class for a property, it can store a generic value of any type and broadcast change events to external listenersPropertyBase<T,K> Base class for property typesAllows mapping properties genericallyEvent callback interface, invoked when a property changed its valueMaps the properties that are in a class/object and provides access to them so tools such as ORM can implicitly access them for us.SetProperty<T,K> Base class for a property as a set which can contain multiple elements withinA simple ORM wrapper for property objects.The binding framework can implicitly bind UI elements to properties, this allow seamless model to UI mapping.Converts the source value to a Boolean.Implements table model binding, this is implemented as a class to allow additional features such as adding/removing rowsUiBinding.CheckBoxRadioSelectionAdapter<PropertyType>Adapts acom.codename1.ui.CheckBoxorcom.codename1.ui.RadioButtonto bindingUiBinding.ComponentAdapter<PropertyType, ComponentType>Adapters can be extended to allow any component to bind to a property via a converterConverts the source value to a Date.Converts the source value to a Double.Converts the source value to a Float.Converts the source value to an Integer.Converts the source value to a Long.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 stringObject converter can convert an object from one type to another e.g.UiBinding.PickerAdapter<PropertyType>Adapts acom.codename1.ui.spinner.Pickerto bindingUiBinding.RadioListAdapter<PropertyType>Adapts a set ofcom.codename1.ui.RadioButtonto a selection within a list of valuesConverts the source value to a String.UiBinding.TextAreaAdapter<PropertyType>Adapts acom.codename1.ui.TextArea(and it's subclasscom.codename1.ui.TextFieldto bindingUiBinding.TextComponentAdapter<PropertyType>Adapts acom.codename1.ui.TextComponentto binding