This package provides classes that can be used to synchronize state between pairs of observable objects with optional data type conversion and validation.
DataBindingContext is used to manage a list of
with their validation results.
Concrete subclasses of
Binding synchronize state between two observables,
called the target observable and the model observable. Usually, the binding will
first copy the current state of the model observable to the target observable and
from then on track changes on both sides, reacting to changes on one side by
performing the corresponding change on the other side.
For each binding, two
UpdateListStrategy objects (one
for each direction) is used to control how the binding should synchronize, and can be used to
specify data type converters and validators.
AggregateValidationStatus allows clients to aggregate the current validation
statuses of a list of bindings, typically obtained from a data binding context.
For advanced validation, conversion, or similar requirements that affect the way
state is copied from one side to the other, subclasses of
UpdateListStrategy can be created.
ClassDescriptionThis class can be used to aggregate status values from a data binding context into a single status value.This abstract class represents a binding between a model and a target.An unchecked exception indicating a binding problem.A factory for creating properties for core types in the DataBinding framework e.g.A DataBindingContext is the point of contact for the creation and management of
bindings, and aggregates validation statuses of its bindings, or more generally, its validation status providers.ListBinding<M,
T>An observables manager can be used for lifecycle management of
T>UpdateListStrategy<S, D>UpdateSetStrategy<S, D>UpdateValueStrategy<S, D>A validation status provider tracks the state of zero or more target observables and zero or more model observables and produces a validation result.