Where to start?
The whole framework is based on the class ComposableModel. This class provides all the methods needed to create and to compose user interfaces.
A Spec model requires three things:
- to subclass ComposableModel
- to implement initializeWidgets
- to implement a layout method on class side
The creation a user interface starts with the creation of a new subclass of ComposableModel. The sub widgets of the user interface are stored as instance variables.
As you may have guessed, theList will be a list widget and theButton will be a button widget. The instanciation and the customization of the sub widgets is done in the method initializeWidgets.