Skip to content

Commit 0601949

Browse files
author
Nicolai Parlog
committed
Small changes to README.
1 parent 73c4cc2 commit 0601949

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ A nesting can than be used in several ways:
1313
* You can attach a change listener which is carried along as the innermost property changes.
1414
* You can create bindings which are not only updated when the innermost property's value changes but also when the property itself is replaced.
1515

16-
These further steps can also be achieved with the same fluent API without breaking one's stride. You can find an example below and more in the classes in the folder `demo/org/codefx/nesting`.
16+
These further steps can be made with the same fluent API without breaking one's stride. You can find an example below and more in the classes in the folder `demo/org/codefx/nesting` (look for methods starting with "demo").
1717

1818
## Example
1919

@@ -39,13 +39,13 @@ Another way is to explicitly listen to changes of the model's `currentEmployeePr
3939
Use **CodeFX**! :)
4040

4141
``` Java
42-
Nestings.on(currentEmployee)
42+
Nestings.on(currentEmployeeProperty)
4343
.nestDouble(employee -> employee.salaryProperty())
4444
.bindBidirectional(slider.valueProperty());
4545
```
4646

4747
``` Java
48-
Nestings.on(currentEmployee)
48+
Nestings.on(currentEmployeeProperty)
4949
.nest(employee -> employee.addressProperty())
5050
.nest(address -> address.zipProperty())
5151
.addChangeListener(myListener);

0 commit comments

Comments
 (0)