1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <title>javafx.beans.binding</title>
6 </head>
7 <body>
8 <h1>Characteristics of Bindings</h1>
9 <p>Bindings are assembled from one or more sources, usually called
10 their dependencies. A binding observes its dependencies for changes
11 and updates its own value according to changes in the dependencies.</p>
12 <p>Almost all bindings defined in this library require
13 implementations of {@link javafx.beans.Observable} for their
14 dependencies. There are two types of implementations already provided,
15 the properties in the package {@link javafx.beans.property} and the
16 observable collections ({@link javafx.collections.ObservableList} and
17 {@link javafx.collections.ObservableMap}). Bindings also implement
18 {@code Observable} and can again serve as sources for other bindings
19 allowing to construct very complex bindings from simple ones.</p>
20 <p>Bindings in our implementation are always calculated lazily.
21 That means, if a dependency changes, the result of a binding is not
22 immediately recalculated, but it is marked as invalid. Next time the
23 value of an invalid binding is requested, it is recalculated.</p>
24 <h1>High Level API and Low Level API</h1>
25 <p>The Binding API is roughly divided in two parts, the High Level
26 Binding API and the Low Level Binding API. The High Level Binding API
27 allows to construct simple bindings in an easy to use fashion.
|
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <title>javafx.beans.binding</title>
6 </head>
7 <body>
8 <p>Provides classes that create and operate on a {@link Binding Binding}
9 that calculates a value that depends on one or more sources.</p>
10 <h1>Characteristics of Bindings</h1>
11 <p>Bindings are assembled from one or more sources, usually called
12 their dependencies. A binding observes its dependencies for changes
13 and updates its own value according to changes in the dependencies.</p>
14 <p>Almost all bindings defined in this library require
15 implementations of {@link javafx.beans.Observable} for their
16 dependencies. There are two types of implementations already provided,
17 the properties in the package {@link javafx.beans.property} and the
18 observable collections ({@link javafx.collections.ObservableList} and
19 {@link javafx.collections.ObservableMap}). Bindings also implement
20 {@code Observable} and can again serve as sources for other bindings
21 allowing to construct very complex bindings from simple ones.</p>
22 <p>Bindings in our implementation are always calculated lazily.
23 That means, if a dependency changes, the result of a binding is not
24 immediately recalculated, but it is marked as invalid. Next time the
25 value of an invalid binding is requested, it is recalculated.</p>
26 <h1>High Level API and Low Level API</h1>
27 <p>The Binding API is roughly divided in two parts, the High Level
28 Binding API and the Low Level Binding API. The High Level Binding API
29 allows to construct simple bindings in an easy to use fashion.
|