Package com.bc.ceres.binding
The main purpose of this package is to provide a simple data binding framework for binding
Java objects to a GUI or a DOM.
Basically it also provides support for the Property List and Value Object
design patterns (see PropertyContainer
and Property
).
This package and its sub-packages currently form a self-standing API which is not used by Ceres itself.
An important entry point into this API may be the PropertyContainer
class, which
is used to manage a collection Property
s whose values may originate from
diverse sources.
- Since:
- Ceres 0.6
-
Interface Summary Interface Description ClassScanner.FieldFilter Converter<T> AConverter
provides a strategy to convert a value of a certain type from plain text to a Java object and vice versa.PropertyAccessor AnPropertyAccessor
provides a strategy to get and set a value.PropertyAccessorFactory A factory for property accessors derived from Java class fields.PropertyChangeEmitter Something that emits property change events.PropertyDescriptorFactory A factory for property descriptors derived from Java classField
s.PropertySet A loose aggregation of properties.PropertySetDescriptor A provider for property descriptors.Validator AValidator
provides the strategy to validate a value with respect to a providedProperty
. -
Class Summary Class Description ClassScanner Utility class that is used to scan the fields of plain Java objects (POJOs).ConverterRegistry A registry forConverter
s.DefaultPropertyDescriptorFactory Default implementation for thePropertyDescriptorFactory
interface.DefaultPropertySetDescriptor The default implementation of a property set descriptor.Property A property is composed of aPropertyDescriptor
(static type description) and anPropertyAccessor
(dynamic value assignment).PropertyContainer A convenience implementation of thePropertySet
interface.PropertyDescriptor Describes a property by its name, type and a set of optional (mutable) attributes.ValueRange This class represents a numerical value range.ValueSet A set of values allowed to be assigned to certain types of values. -
Exception Summary Exception Description BindingException Signals a binding failure.ConversionException Signals a value conversion failure.ValidationException Signals a value validation failure.