Package | Description |
---|---|
ca.weblite.shared.components.table |
This package contains a Table component similar to swing’s JTable and associated renderer and editor classes.
|
com.codename1.rad.models |
This package contains classes for CodeRAD models, such as
Entity , Property , and Tag . |
com.codename1.rad.ui |
This package contains the foundation classes for CodeRAD views.
|
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 |
---|---|
ContentType |
TableModel.getCellContentType(int row,
int column)
Get the content type of a cell.
|
ContentType |
StringArrayTableModel.getCellContentType(int row,
int column) |
Modifier and Type | Field and Description |
---|---|
static ContentType<Boolean> |
ContentType.BooleanType |
static ContentType<Date> |
ContentType.DateType |
static ContentType<Double> |
ContentType.DoubleType |
static ContentType<EntityList> |
ContentType.EntityListType |
static ContentType<Entity> |
ContentType.EntityType |
static ContentType<Float> |
ContentType.FloatType |
static ContentType<Integer> |
ContentType.IntegerType |
static ContentType<Long> |
ContentType.LongType |
static ContentType<String> |
ContentType.Text |
Modifier and Type | Method and Description |
---|---|
static <V> ContentType<V> |
ContentType.createObjectType(Class<V> representationClass) |
ContentType<T> |
AbstractProperty.getContentType() |
ContentType |
EntityType.getContentType()
Gets the ContentType of this EntityType.
|
ContentType<T> |
Property.getContentType() |
Modifier and Type | Method and Description |
---|---|
boolean |
ContentType.canConvertFrom(ContentType otherType) |
boolean |
ContentType.canConvertTo(ContentType otherType) |
static <T,V> T |
ContentType.convert(ContentType<V> sourceType,
V sourceData,
ContentType<T> targetType) |
static <T,V> T |
ContentType.convert(ContentType<V> sourceType,
V sourceData,
ContentType<T> targetType) |
<V> T |
ContentType.from(ContentType<V> otherType,
V data) |
<T> T |
PropertySelector.get(ContentType<T> type,
T defaultValue)
Gets the property value as the given type.
|
<V> V |
SimpleEntityWrapper.get(Property prop,
ContentType<V> contentType) |
<V> V |
BaseEntity.get(Property prop,
ContentType<V> contentType)
Gets property value as given content type.
|
<V> V |
Entity.get(Property prop,
ContentType<V> contentType)
Gets property value as given content type.
|
Object |
EntityType.getPropertyValue(Entity entity,
ContentType outputType,
Tag... tags) |
Object |
EntityType.getPropertyValue(Property prop,
Entity entity,
ContentType outputType)
Gets a property value of an Entity.
|
Object |
EntityType.getPropertyValue(Tag tag,
Entity entity,
ContentType outputType) |
Object |
EntityType.getPropertyValue(Tag tag,
Entity entity,
ContentType outputType,
Object defaultVal) |
<T> boolean |
PropertySelector.set(ContentType<T> type,
T value) |
boolean |
SimpleEntityWrapper.set(ContentType inputType,
Object val,
Tag... tags) |
boolean |
BaseEntity.set(ContentType inputType,
Object val,
Tag... tags)
Sets the property value as the given content type.
|
boolean |
Entity.set(ContentType inputType,
Object val,
Tag... tags)
Sets the property value as the given content type.
|
void |
SimpleEntityWrapper.set(Property prop,
ContentType inputType,
Object val) |
void |
BaseEntity.set(Property prop,
ContentType inputType,
Object val)
Sets property as given content type.
|
void |
Entity.set(Property prop,
ContentType inputType,
Object val)
Sets property as given content type.
|
boolean |
SimpleEntityWrapper.set(Tag tag,
ContentType inputType,
Object val) |
boolean |
BaseEntity.set(Tag tag,
ContentType inputType,
Object val)
Sets the property value as the given content type.
|
boolean |
Entity.set(Tag tag,
ContentType inputType,
Object val)
Sets the property value as the given content type.
|
boolean |
EntityType.setPropertyValue(Entity entity,
ContentType inputType,
Object val,
Tag... tags) |
void |
EntityType.setPropertyValue(Property prop,
Entity entity,
ContentType inputType,
Object data)
Sets a property value of an entity
|
boolean |
EntityType.setPropertyValue(Tag tag,
Entity entity,
ContentType inputType,
Object val) |
boolean |
DataTransformer.supports(ContentType source,
ContentType target)
Checks to see if this transformer supports the given source and target content types.
|
boolean |
DataTransformer.supports(ContentType source,
ContentType target)
Checks to see if this transformer supports the given source and target content types.
|
<V> V |
ContentType.to(ContentType<V> otherType,
T data) |
<T,V> V |
DataTransformer.transform(ContentType<T> source,
ContentType<V> target,
T data)
Transforms data from one content type to another.
|
<T,V> V |
DataTransformer.transform(ContentType<T> source,
ContentType<V> target,
T data)
Transforms data from one content type to another.
|
Constructor and Description |
---|
AbstractProperty(ContentType<T> contentType) |
Modifier and Type | Method and Description |
---|---|
ContentType<T> |
ViewProperty.getContentType() |
Constructor and Description |
---|
ViewProperty(ContentType<T> contentType,
Attribute... attributes) |
Modifier and Type | Field and Description |
---|---|
static ContentType |
AsyncImage.CONTENT_TYPE |
Modifier and Type | Method and Description |
---|---|
ContentType |
EntityListTableModel.getCellContentType(int row,
int column) |
Copyright © 2021. All Rights Reserved.