| Interface | Description |
|---|---|
| AttributeBinder.IAttributeBinderAction |
An action to be applied during attribute binding.
|
| AttributeBinder.IAttributeTransformer |
Transforms attribute values.
|
| IAssignable |
Marker interface for types which can exist as assignable
Attributes. |
| IBindableDescriptor |
Additional, statically derived, metadata describing a
Bindable component. |
| IObjectFactory<T> |
Marker interface for types which can exist as assignable
Attributes. |
| Class | Description |
|---|---|
| AnnotationsPredicate |
A predicate that tests the presence of a given set of annotations on
an
AttributeDescriptor. |
| AttributeBinder |
Provides methods for binding (setting and getting) values of attributes defined by the
Attribute annotation. |
| AttributeBinder.AllAnnotationsPresentPredicate |
A predicate that evaluates to
true if the attribute is annotated with
all of the provided annotations. |
| AttributeBinder.AttributeBinderActionBind |
An action that binds all
Input attributes. |
| AttributeBinder.AttributeBinderActionCollect |
An action that binds all
Output attributes. |
| AttributeBinder.AttributeTransformerFromString |
Transforms
String attribute values to the types required by the target
field by:
Leaving non-String typed values unchanged.
Looking for a static valueOf(String) in the target type and using
it for conversion.
If the method is not available, trying to load a class named as the value of
the attribute, so that this class can be further coerced to the class instance.
If the class cannot be loaded, leaving the the value unchanged.
|
| AttributeBinder.BindingTracker |
Tracks which attributes have already been collected and prevents overwriting of
collected values.
|
| AttributeBinderInjector |
A very simple field value injector based on the
AttributeBinder. |
| AttributeDescriptor |
Provides a full description of an individual attribute, including its
AttributeDescriptor.key,
AttributeDescriptor.type, AttributeDescriptor.defaultValue and AttributeDescriptor.constraints. |
| AttributeDescriptor.AttributeDescriptorToKey |
Transforms
AttributeDescriptors into their keys. |
| AttributeInfo | |
| AttributeMetadata |
Human-readable metadata about an attribute.
|
| AttributeUtils |
A number of utility methods for working with
Attributes. |
| BindableDescriptor |
Provides a full description of a
Bindable type, including
AttributeDescriptors for all attributes defined by the type. |
| BindableDescriptorBuilder |
Builds
BindableDescriptors based on the provided bindable type instances. |
| BindableDescriptorUtils |
Utilities related to generated bindable descriptors.
|
| BindableMetadata |
Human-readable metadata for a
Bindable type. |
| BindableUtils |
A set of utility methods for working with
Bindable types. |
| CommonMetadata |
Common metadata items for
BindableMetadata and AttributeMetadata. |
| LevelsPredicate |
A predicate that tests whether an
AttributeDescriptor belongs to any of the
provided levels. |
| Enum | Description |
|---|---|
| AttributeLevel |
The level of complexity involved in tuning an attribute value.
|
| BindableDescriptor.GroupingMethod |
The supported
AttributeDescriptor grouping methods. |
| Exception | Description |
|---|---|
| AttributeBindingException |
An exception thrown when problems occur in
AttributeBinder.set(Object, java.util.Map, Class...). |
| Annotation Type | Description |
|---|---|
| Attribute |
Denotes fields whose values should be bound (set or collected) by
AttributeBinder. |
| Bindable |
Denotes types that will have some of their fields bound (set or collected) by the
AttributeBinder. |
| Group |
User interface group name for an attribute.
|
| Input |
Denotes fields whose values can be set (written) by
AttributeBinder. |
| Label |
User interface name for an attribute or type.
|
| Level |
User-friendliness level for sorting/ hiding attributes in the GUI.
|
| Output |
Denotes fields whose values can be read (collected) by
AttributeBinder. |
| Required |
Marks required attributes.
|
Copyright © 2013 Carrot2.org. All Rights Reserved.