Contents

Examples for Specific MVC Classes


Examples for View Classes:

PluggableButtonView
ListView
ListViews with a common model
StringHolderView
PluggableListView
Editing items of a PluggableListView

Examples for Model Classes:

Some predefined subclasses of Model can be used as components for more complicated models:

OneOnSwitch
A model that coordinates the states of several PluggableButtonViews.

ValueHolder
a model that stores a single value and informs its dependent objects (usually views) whenever that value changes.

StringHolder
A model for a StringHolderView. This is quite useful for state display fields.

Switch and Button (with blocks)
Switch and Button are models for a single PluggableButtonView.

Switch and Button (in a component-like style)
this example demonstrates the use of Switch and Button as model components.


Contents