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.
  • Class
    Description
    This is the boolean specific version of property
    This is the byte specific version of numeric property
    This is the char specific version of numeric property
    Base class for a property as a collection which can contain multiple elements within
    This is the double specific version of numeric property
    This is the float specific version of numeric property
    Instant UI generates a user interface for editing a property business object based on common conventions and settings within the properties.
    This is the integer specific version of numeric property
    Base class for a property as a list which can contain multiple elements within
    This is the long specific version of numeric property
    Instances 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.
    Base class for a property as a Map which can contain multiple elements within it
    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 the com.codename1.io.Preferences API for automatic persistent storage.
    Base class for a property, it can store a generic value of any type and broadcast change events to external listeners
    Base class for property types
    Allows mapping properties generically
    Event callback interface, invoked when a property changed its value
    Maps the properties that are in a class/object and provides access to them so tools such as ORM can implicitly access them for us.
    Base class for a property as a set which can contain multiple elements within
    A 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 rows
    Adapts a com.codename1.ui.CheckBox or com.codename1.ui.RadioButton to binding
    UiBinding.ComponentAdapter<PropertyType, ComponentType>
    Adapters can be extended to allow any component to bind to a property via a converter
    Converts 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 string
    Object converter can convert an object from one type to another e.g.
    Adapts a com.codename1.ui.spinner.Picker to binding
    Adapts a set of com.codename1.ui.RadioButton to a selection within a list of values
    Converts the source value to a String.
    Adapts a com.codename1.ui.TextArea (and it's subclass com.codename1.ui.TextField to binding
    Adapts a com.codename1.ui.TextComponent to binding