Package | Description |
---|---|
com.codename1.rad.io | |
com.codename1.rad.models |
This package contains classes for CodeRAD models, such as
Entity , Property , and Tag . |
com.codename1.rad.nodes |
This package contains
Node classes for use inside UI descriptors. |
com.codename1.rad.propertyviews |
This package contains property views, which are used to bind UI components with model properties.
|
com.codename1.rad.ui |
This package contains the foundation classes for CodeRAD views.
|
com.codename1.rad.ui.entityviews |
This package contains entity views - view components that are bound to an Entity value model.
|
com.codename1.rad.ui.image |
This class contains subclasses of AsyncImage
|
com.codename1.rad.ui.table |
This package contains bindable implementations of the classes in the
ca.weblite.shared.components.table package. |
Modifier and Type | Method and Description |
---|---|
ResultParser |
ResultParser.Boolean(String resultPropertySelector,
Property prop)
Adds a boolean property parser.
|
ResultParser |
ResultParser.Boolean(String resultPropertySelector,
Property prop,
ResultParser.PropertyParserCallback callback)
Adds a boolean property parser.
|
ResultParser |
ResultParser.Double(String resultPropertySelector,
Property prop)
Adds an double property parser.
|
ResultParser |
ResultParser.Double(String resultPropertySelector,
Property prop,
ResultParser.PropertyParserCallback callback)
Adds an double property parser.
|
ResultParser |
ResultParser.Integer(String resultPropertySelector,
Property prop)
Adds an integer property parser.
|
ResultParser |
ResultParser.Integer(String resultPropertySelector,
Property prop,
ResultParser.PropertyParserCallback callback)
Adds an integer property parser.
|
ResultParser |
ResultParser.Long(String resultPropertySelector,
Property prop)
Adds a long property parser.
|
ResultParser |
ResultParser.Long(String resultPropertySelector,
Property prop,
ResultParser.PropertyParserCallback callback)
Adds a long property parser.
|
ResultParser |
ResultParser.property(String resultPropertySelector,
Property property)
Add support for parsing a particular property.
|
ResultParser |
ResultParser.property(String resultPropertySelector,
Property property,
ResultParser.PropertyParserCallback parserCallback)
Add support for parsing a particular property.
|
ResultParser |
ResultParser.property(String resultPropertySelector,
com.codename1.rad.io.ResultParser.Getter getter,
Property property)
Add support for parsing a particular property.
|
ResultParser |
ResultParser.property(String resultPropertySelector,
com.codename1.rad.io.ResultParser.Getter getter,
Property property,
ResultParser.PropertyParserCallback parserCallback)
Add support for parsing a particular property.
|
ResultParser |
ResultParser.string(String resultPropertySelector,
Property prop)
Adds a string property parser.
|
ResultParser |
ResultParser.string(String resultPropertySelector,
Property prop,
ResultParser.PropertyParserCallback callback)
Adds a string property parser.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractProperty<T>
An abstract base class for
Property that includes most of the essential plumbing
to handle attributes and getting and setting values. |
class |
BooleanProperty
|
class |
DateProperty
|
class |
DoubleProperty
|
class |
EntityListProperty<T extends EntityList>
A property containing an
EntityList value. |
class |
EntityProperty<T extends Entity>
|
class |
IntProperty
|
class |
ListProperty<T extends EntityList>
A
Property containing an EntityList |
class |
SimpleProperty<T> |
class |
StringProperty
|
Modifier and Type | Method and Description |
---|---|
Property |
EntityType.findProperty(Tag... tags)
Finds a property in the entity type matching the given tags.
|
Property |
Entity.findProperty(Tag... tags)
Finds the property corresponding to the given tags.
|
Property |
PropertySelector.getLeafProperty()
Resolves the property of this property selector.
|
Property |
PropertyChangeEvent.getProperty() |
Modifier and Type | Method and Description |
---|---|
Iterator<Property> |
EntityType.iterator() |
Modifier and Type | Method and Description |
---|---|
void |
Entity.add(Property prop,
Entity value)
Adds an item to the given property.
|
void |
EntityType.addAllProperties(Property... properties)
Adds a set of properties to this EntityType.
|
void |
EntityType.addProperty(Property property)
Adds a property to this EntityType.
|
void |
Entity.addPropertyChangeListener(Property property,
ActionListener<PropertyChangeEvent> l)
Adds a listener to be notified of changes to the given property.
|
void |
Entity.addVetoablePropertyChangeListener(Property property,
ActionListener<VetoablePropertyChangeEvent> l)
Adds a listener to be notified of changes to the given property.
|
PropertySelector |
PropertySelector.child(int index,
Property prop) |
PropertySelector |
PropertySelector.child(Property prop)
|
boolean |
EntityType.contains(Property property)
Checks if this entity type contains the given property.
|
PropertySelector |
PropertySelector.createChildSelector(int index,
Property property) |
PropertySelector |
PropertySelector.createChildSelector(Property property)
Creates a child selector on this property selector.
|
Image |
Entity.createImageToFile(Property prop,
EncodedImage placeholder)
Creates an image for a given property to file system.
|
Image |
Entity.createImageToFile(Property prop,
EncodedImage placeholder,
String file)
Creates an image for a given property to file system.This behaves similarly to the
URLImage.createToFileSystem(com.codename1.ui.EncodedImage, java.lang.String, java.lang.String, com.codename1.ui.URLImage.ImageAdapter)
except the URL is retrieved from the entity’s property, instead of as a parameter. |
Image |
Entity.createImageToFile(Property prop,
EncodedImage placeholder,
String file,
URLImage.ImageAdapter adapter)
Creates an image for a given property to file system.This behaves similarly to the
URLImage.createToFileSystem(com.codename1.ui.EncodedImage, java.lang.String, java.lang.String, com.codename1.ui.URLImage.ImageAdapter)
except the URL is retrieved from the entity’s property, instead of as a parameter. |
Image |
Entity.createImageToFile(Property prop,
EncodedImage placeholder,
URLImage.ImageAdapter adapter)
Creates an image for a given property to file system.
|
Image |
Entity.createImageToStorage(Property prop,
EncodedImage placeholder)
Creates an image to storage on the given property.
|
Image |
Entity.createImageToStorage(Property prop,
EncodedImage placeholder,
String storageFile)
Creates an image to storage on the given property.This behaves similarly to the
URLImage.createToStorage(com.codename1.ui.EncodedImage, java.lang.String, java.lang.String)
except the URL is retrieved from the entity’s property, instead of as a parameter. |
Image |
Entity.createImageToStorage(Property prop,
EncodedImage placeholder,
String storageFile,
URLImage.ImageAdapter adapter)
Creates an image to storage on the given property.This behaves similarly to the
URLImage.createToStorage(com.codename1.ui.EncodedImage, java.lang.String, java.lang.String)
except the URL is retrieved from the entity’s property, instead of as a parameter. |
Image |
Entity.createImageToStorage(Property prop,
EncodedImage placeholder,
URLImage.ImageAdapter adapter)
Creates an image to storage on the given property.
|
<T> T |
Entity.get(Property<T> prop)
Gets the value of the specified property.
|
<V> V |
Entity.get(Property prop,
ContentType<V> contentType)
Gets property value as given content type.
|
Boolean |
Entity.getBoolean(Property prop)
Gets property value as Boolean.
|
Boolean |
EntityType.getBoolean(Property prop,
Entity entity)
Gets property value of an entity as a boolean.
|
Date |
Entity.getDate(Property prop)
Gets property as date
|
Date |
EntityType.getDate(Property prop,
Entity entity) |
Double |
Entity.getDouble(Property prop)
Gets a property value as a Double.
|
Double |
EntityType.getDouble(Property prop,
Entity entity)
Gets property value of an entity as a Double.
|
Entity |
Entity.getEntity(Property prop)
Gets the a property value as an Entity.
|
EntityList |
Entity.getEntityList(Property prop)
Gets property as an EntityList
|
EntityList |
Entity.getEntityListNonNull(Property prop)
Gets property as an EntityList.
|
Entity |
Entity.getEntityNonNull(Property prop)
Gets a property value as an Entity.
|
Float |
EntityType.getFloat(Property prop,
Entity entity)
Gets property value of an entity as a float.
|
Integer |
Entity.getInt(Property prop)
Gets property value as Integer
|
Integer |
EntityType.getInt(Property prop,
Entity entity)
Gets property value of an entity as an int.
|
Long |
Entity.getLong(Property prop)
Gets property value as Long
|
Long |
EntityType.getLong(Property prop,
Entity entity)
Gets property value of an entity as a long.
|
static String |
Properties.getName(Property p) |
Object |
EntityType.getPropertyValue(Property prop,
Entity entity,
ContentType outputType)
Gets a property value of an Entity.
|
static Object |
PropertyUtil.getRawProperty(Entity entity,
Property prop)
Get the raw value of a property from an entity.
|
String |
Entity.getText(Property prop)
Gets a property as text.
|
String |
EntityType.getText(Property prop,
Entity entity)
Gets property value of an entity as a string.
|
boolean |
Entity.hasPropertyChangeListeners(Property prop) |
boolean |
Entity.hasVetoablePropertyChangeListeners(Property prop) |
boolean |
Entity.isEmpty(Property prop)
Checks if property is empty.
|
boolean |
Entity.isEntity(Property prop)
Checks if property is an Entity.
|
boolean |
Entity.isFalsey(Property prop)
Checks if property value is falsey.
|
static PropertySelector |
PropertySelector.propertySelector(Entity root,
Property prop) |
boolean |
EntityType.removeProperty(Property property)
Removes a property from this EntityType.
|
void |
Entity.removePropertyChangeListener(Property property,
ActionListener<PropertyChangeEvent> l)
Removes a property change listener.
|
void |
Entity.removeVetoablePropertyChangeListener(Property property,
ActionListener<VetoablePropertyChangeEvent> l)
Removes a property change listener.
|
void |
Entity.set(Property prop,
ContentType inputType,
Object val)
Sets property as given content type.
|
void |
Entity.setBoolean(Property prop,
boolean val)
Sets property as boolean
|
void |
EntityType.setBoolean(Property prop,
Entity entity,
boolean val) |
void |
Entity.setChanged(Property prop,
boolean firePropertyChange)
Marks a property value as "changed".
|
void |
Entity.setDate(Property prop,
Date date)
Sets property as Date
|
void |
EntityType.setDate(Property prop,
Entity entity,
Date date) |
void |
Entity.setDouble(Property prop,
double val)
Sets property as Double
|
void |
EntityType.setDouble(Property prop,
Entity entity,
double val) |
void |
Entity.setEntity(Property prop,
Entity e)
Sets property as Entity
|
void |
EntityType.setFloat(Property prop,
Entity entity,
float val) |
void |
Entity.setFloat(Property prop,
float val)
Sets property as Float
|
void |
EntityType.setInt(Property prop,
Entity entity,
int value) |
void |
Entity.setInt(Property prop,
int val)
Sets property as int
|
void |
EntityType.setLong(Property prop,
Entity entity,
long val) |
void |
Entity.setLong(Property prop,
long val)
Sets property as Long
|
void |
EntityType.setPropertyValue(Property prop,
Entity entity,
ContentType inputType,
Object data)
Sets a property value of an entity
|
static void |
PropertyUtil.setRawProperty(Entity entity,
Property prop,
Object value)
Set the raw value of a property in an entity.
|
void |
EntityType.setText(Property prop,
Entity entity,
String text)
Sets the property value of an entity as a string.
|
void |
Entity.setText(Property prop,
String text) |
Constructor and Description |
---|
EntityType(Property... properties)
Creates an entity type with the given properties.
|
PropertyChangeEvent(Entity source,
Property prop,
Object oldVal,
Object newVal) |
PropertySelector(Entity root,
Property property)
Creates a new property selector.
|
PropertySelector(PropertySelector parent,
Property property)
Creates a new property selector with the given parent selector.
|
VetoablePropertyChangeEvent(Entity source,
Property prop,
Object oldVal,
Object newVal) |
WidgetDescriptor(Property prop) |
Modifier and Type | Method and Description |
---|---|
Property |
FieldNode.getProperty(EntityType context)
Gets the property for this field.
|
Modifier and Type | Method and Description |
---|---|
static FieldNode |
FieldNode.createdWithProperty(Property prop) |
Constructor and Description |
---|
PropertyNode(Property value,
Attribute... atts) |
Constructor and Description |
---|
LabelPropertyView(Label component,
Entity entity,
Property prop) |
Modifier and Type | Method and Description |
---|---|
Property |
ViewPropertyParameter.findProperty(Entity context) |
protected Property |
AbstractEntityView.findProperty(Tag... tags) |
Property |
PropertyView.getProperty() |
Modifier and Type | Method and Description |
---|---|
static PropertyNode |
UI.property(Property prop,
Attribute... atts) |
Modifier and Type | Field and Description |
---|---|
static ViewProperty<Property> |
ProfileAvatarView.ICON_PROPERTY |
static ViewProperty<Property> |
ProfileAvatarView.NAME_PROPERTY |
Modifier and Type | Method and Description |
---|---|
AsyncImage |
ProfileAvatarView.ImageRenderer.createImage(EntityView view,
Property property,
int rowIndex,
boolean selected,
boolean focused) |
Modifier and Type | Method and Description |
---|---|
AsyncImage |
FirstCharEntityImageRenderer.createImage(EntityView view,
Property property,
int rowIndex,
boolean selected,
boolean focused) |
AsyncImage |
EntityImageRenderer.createImage(EntityView view,
Property property,
int rowIndex,
boolean selected,
boolean focused) |
AsyncImage |
DefaultEntityImageRenderer.createImage(EntityView view,
Property property,
int rowIndex,
boolean selected,
boolean focused) |
static ImageContainer |
ImageContainer.createToFileSystem(Entity entity,
Property property) |
static ImageContainer |
ImageContainer.createToFileSystem(Entity entity,
Property property,
String filePath) |
static ImageContainer |
ImageContainer.createToStorage(Entity entity,
Property property) |
static ImageContainer |
ImageContainer.createToStorage(Entity entity,
Property property,
String storageFile) |
Modifier and Type | Method and Description |
---|---|
Property |
EntityListTableModel.getColumnProperty(int column) |
Copyright © 2021. All Rights Reserved.