Package | Description |
---|---|
com.codename1.rad.attributes |
This package contains
Attribute classes for use in UI descriptors. |
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.
|
Modifier and Type | Class and Description |
---|---|
class |
ActionStyleAttribute
Attribute for specifying the style of an action.
|
class |
Badge
An attribute that can be used on an
ActionNode to add a badge to the action. |
class |
BadgeUIID
Attribute used to provide a badge UIID for an action.
|
class |
Columns
An attribute to specify the number of columns in a form or a form section.
|
class |
Condition
An attribute to specify a test condition.
|
class |
EnabledCondition
Enabled condition, for Action Nodes.
|
class |
IconRendererAttribute
Attribute to specify a renderer for rendering an icon.
|
class |
IconUIID
Attribute used to provide an icon UIID for a view or action.
|
class |
ImageIcon
An attribute for specifying the icon for an action as an
Image . |
class |
ListCellRendererAttribute
An attribute for specifying the list cell renderer for a
EntityListView . |
class |
MaterialIcon
An attribute for specifying the icon of an
ActionNode as a material icon. |
class |
NodeDecoratorAttribute
An attribute for assigning a
NodeDecorator to node. |
class |
PropertyImageRendererAttribute |
class |
PropertySelectorAttribute |
class |
PropertyViewDecoratorAttribute
An attribute for setting a
PropertyViewDecorator which will be run on a PropertyView
after creation by the view factory. |
class |
SelectedCondition
Selected condition, for
ActionNode . |
class |
TableCellEditorAttribute
Attribute used by
Table to specify the cell editor for a table. |
class |
TableCellRendererAttribute
An attribute for specifying the
TableCellRenderer of a a Table . |
class |
TextIcon |
class |
UIID
Attribute used to provide a UIID for a view.
|
class |
UIIDPrefix |
class |
ViewPropertyParameterAttribute<T>
Attribute to add a
ViewPropertyParameter to a node. |
class |
ViewType
An attribute for specifying the view type for a view node so that the
EntityViewFactory can generate the proper type of view. |
class |
WidgetType
Attribute for specifying the
WidgetType for a FieldNode . |
Modifier and Type | Class and Description |
---|---|
class |
DataTransformer
A base class for a transformer that can be registered with
ContentType to add support for converting between content types. |
class |
DateFormatterAttribute
An attribute for setting a on a node.
|
class |
NumberFormatterAttribute
An attribute to specify a
NumberFormatter . |
static class |
Property.Description |
static class |
Property.Editable |
static class |
Property.GetterAttribute |
static class |
Property.Label |
static class |
Property.Name |
static class |
Property.SetterAttribute |
static class |
Property.Test |
static class |
Property.Widget |
class |
Tag
A special kind of attribute that enables loose coupling of components in CodeRAD.
|
class |
Tags
An attribute whose sole purpose is to contain tags.
|
class |
TextFormatterAttribute
An attribute for setting a on a node.
|
static class |
WidgetDescriptor.Type |
Modifier and Type | Method and Description |
---|---|
<T extends Attribute> |
WidgetDescriptor.getAttribute(Class<T> type) |
<T extends Attribute> |
AttributeSet.getAttribute(Class<T> attType) |
<T extends Attribute> |
AttributeSet.getAttribute(Class<T> type,
T defaultVal) |
<V extends Attribute> |
Property.getAttribute(Class<V> type) |
<V extends Attribute> |
AbstractProperty.getAttribute(Class<V> type) |
Modifier and Type | Method and Description |
---|---|
Iterator<Attribute> |
AttributeSet.iterator() |
Modifier and Type | Method and Description |
---|---|
EntityTypeBuilder |
EntityTypeBuilder.Boolean(Attribute... atts) |
BooleanProperty |
EntityType.Boolean(Attribute... atts)
Creates a new Boolean property, and adds it to the property set.
|
<T extends EntityList> |
EntityType.compose(Class<T> type,
Attribute... atts)
Creates a new ListProperty (i.e.
|
DateProperty |
EntityType.date(Attribute... atts)
Creates a new date property, and adds it to the property set.
|
EntityTypeBuilder |
EntityTypeBuilder.Date(Attribute... atts) |
EntityTypeBuilder |
EntityTypeBuilder.Double(Attribute... atts) |
DoubleProperty |
EntityType.Double(Attribute... atts)
Creates a new Double property, and adds it to the property set.
|
EntityTypeBuilder |
EntityTypeBuilder.entity(Class<?> cls,
Attribute... atts) |
<T extends Entity> |
EntityType.entity(Class<T> type,
Attribute... atts)
Creates a new EntityProperty (i.e.
|
EntityTypeBuilder |
EntityTypeBuilder.Integer(Attribute... atts) |
IntProperty |
EntityType.Integer(Attribute... atts)
Creates a new Integer property, and adds it to the property set.
|
EntityTypeBuilder |
EntityTypeBuilder.list(Class<?> listClass,
Attribute... atts) |
<T extends EntityList> |
EntityType.list(Class<T> type,
Attribute... atts)
Alias of
#compose(java.lang.Class, com.codename1.rad.models.Attribute…) . |
<T> SimpleProperty<T> |
EntityType.object(Class<T> type,
Attribute... atts)
Creates a new property containing a specific Object type, and adds it to the property set.
|
EntityTypeBuilder |
EntityTypeBuilder.object(Class cls,
Attribute... atts) |
void |
WidgetDescriptor.setAttributes(Attribute... atts) |
void |
AttributeSet.setAttributes(Attribute... atts) |
void |
AbstractProperty.setAttributes(Attribute... atts) |
EntityTypeBuilder |
EntityTypeBuilder.string(Attribute... atts) |
StringProperty |
EntityType.string(Attribute... atts)
Creates a new string property on this entity type, and adds it to the property set.
|
static Property.Widget |
EntityType.widget(Attribute... atts)
Creates a widget attribute
|
Modifier and Type | Method and Description |
---|---|
<V> V |
AttributeSet.getValue(Class<? extends Attribute<V>> type,
V defaultValue) |
Modifier and Type | Class and Description |
---|---|
class |
ActionNode
A special
Node that defines an action. |
static class |
ActionNode.Category |
static class |
ActionNode.Disabled |
static class |
ActionNode.EnabledCondition |
static class |
ActionNode.Pressed |
static class |
ActionNode.Selected |
static class |
ActionNode.Unselected |
class |
ActionsNode
A wrapper node for adding multiple actions to a Node hierarchy.
|
class |
ActionViewFactoryNode
A node wrapper for an
ActionViewFactory . |
class |
ComponentDecoratorNode |
class |
EntityViewFactoryNode
A node containing an
EntityViewFactory . |
class |
EventFactoryNode
A node that wraps an
EventFactory . |
class |
FieldNode
A
Node that represents a field (usually editable) on a form. |
class |
FormNode
A node that encapsulates form (not a
Form , a small "f" form) for editing the properties of an Entity . |
class |
ListNode
A node that defines a list view.
|
class |
Node<T>
A special type of attribute that can contain child nodes.
|
class |
OptionsNode
|
class |
PropertyNode
|
class |
PropertyViewDecoratorNode |
class |
PropertyViewFactoryNode
A
Node for specifying the PropertyViewFactory to use for rendering properties. |
class |
RowTemplateNode
A node that provides settings for the rows of a list.
|
class |
SectionNode
Encapsulates a section of a Form.
|
class |
SwipeContainer
A
Node that can be used to create a SwipeContainer. |
class |
TableColumns
A node that specifies the columns that should be included in a
Table . |
class |
ViewNode
A node representing an EntityView.
|
Modifier and Type | Method and Description |
---|---|
<V extends Attribute> |
Node.findAttribute(Class<V> type)
Returns an attribute of the given type for this node.
|
<V extends Attribute> |
Node.findInheritedAttribute(Class<V> type)
Find an attribute in this node, or a parent node.
|
Modifier and Type | Method and Description |
---|---|
Attribute |
FormNode.findAttribute(Class type) |
Attribute |
FieldNode.findAttribute(Class type) |
Attribute |
ActionNode.findAttribute(Class type) |
Attribute |
FieldNode.findAttribute(Class type,
EntityType entityType) |
protected static Attribute[] |
Node.merge(Attribute[]... arrs)
Flattens attributes in provided arrays into a single Attribute[] array.
|
protected static Attribute[] |
Node.mergeRecursive(Attribute[]... arrs) |
Modifier and Type | Method and Description |
---|---|
protected static Attribute[] |
Node.merge(Attribute[]... arrs)
Flattens attributes in provided arrays into a single Attribute[] array.
|
protected static Attribute[] |
Node.mergeRecursive(Attribute[]... arrs) |
void |
TableColumns.setAttributes(Attribute... atts) |
void |
SectionNode.setAttributes(Attribute... atts) |
void |
Node.setAttributes(Attribute... atts)
Sets attributes on this node.
|
void |
FormNode.setAttributes(Attribute... atts) |
void |
ActionsNode.setAttributes(Attribute... atts) |
void |
Node.setAttributesIfNotExists(Attribute... atts) |
Modifier and Type | Class and Description |
---|---|
static class |
ButtonListPropertyView.ButtonListLayoutAttribute |
Modifier and Type | Class and Description |
---|---|
static class |
EntityEditor.DescriptionStyleAttribute |
static class |
EntityEditor.LabelStyleAttribute
Attribute for setting
EntityEditor.LabelStyle . |
Modifier and Type | Method and Description |
---|---|
Attribute[] |
NodeList.asAttributes() |
Constructor and Description |
---|
ViewProperty(ContentType<T> contentType,
Attribute... attributes) |
Copyright © 2021. All Rights Reserved.