| 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 | Method and Description |
|---|---|
PreferencesObject |
PreferencesObject.bind()
Binds the object so it's seamlessly stored in preferences
|
static PreferencesObject |
PreferencesObject.create(PropertyBusinessObject bo)
Creates a binding object, this method doesn't do anything until bind is invoked
|
PreferencesObject |
PreferencesObject.setName(PropertyBase pb,
String name)
Sets the name of the specific field not including the prefix, by default the property name is used
|
PreferencesObject |
PreferencesObject.setPrefix(String prefix)
Sets the prefix for the binding, by default the object name with a "." is the common prefix
|
Copyright © 2022. All rights reserved.