@@ -215,7 +215,7 @@ must be created: `ChildView` extends `ParentView`, `ChildViewModel` extends `Par
215215
216216In MVVM4FX, the solution for working with composite components is implemented using two classes: ` Composer ` and ` Mediator ` :
217217
218- 1 . ` Mediator ` . This is the interface that the ` ViewModel ` uses to interact with the ` Composer ` . The need for an
218+ ` Mediator ` . This is the interface that the ` ViewModel ` uses to interact with the ` Composer ` . The need for an
219219interface is driven by two factors: first, it allows the ` ViewModel ` to be tested independently of other components;
220220second, the ` Composer ` must know about both the ` View ` and the ` ViewModel ` , while the ` ViewModel ` must not know about
221221the ` View ` .
@@ -237,7 +237,7 @@ public class FooViewModel extends AbstractChildViewModel {
237237}
238238```
239239
240- 2 . ` Composer ` . This class contains the methods that manage the entire lifecycle of child components, as well as the
240+ ` Composer ` . This class contains the methods that manage the entire lifecycle of child components, as well as the
241241methods the ` View ` uses to interact with the ` Composer ` . In addition, it defines a non-static inner class that
242242implements the corresponding ` Mediator ` .
243243
@@ -270,7 +270,7 @@ public class FooView extends AbstractChildView<FooViewModel> {
270270}
271271```
272272
273- 3 . To assign a ` Composer ` to a ` View ` and a ` Mediator ` to a ` ViewModel ` , use the public method
273+ Composer Assignment . To assign a ` Composer ` to a ` View ` and a ` Mediator ` to a ` ViewModel ` , use the public method
274274` AbstractComponentView#setComposer(...) ` . There is also a ` AbstractComponentView#createComposer() ` method, which can
275275be overridden to automatically create the ` Composer ` during construction.
276276
0 commit comments