|
Smalltalk/X WebserverDocumentation of class 'Model': |
|
|
Class: ModelInheritance:Object | +--Model | +--ApplicationModel | +--GraphColumn | +--HTTPServerSettingsAppl::PluggableServicesSettingsAppl::AvailableServiceItem | +--Plug | +--SelectionInHierarchy | +--SelectionInTree | +--TabItem | +--TabulatorSpecification | +--ValueModel
Description:
Models are things which represent information models, i.e. something
which holds the data for user interface components and on which these operate.
Basically, instances keep track of which components depend on them and
inform the dependents of any changes.
The Model class itself is abstract and not too useful, see subclasses,
especially, ValueHolder and SelectionInList.
Notice:
Actually the Model class is not really needed; since the dependency
mechanism is inherited by Object, you can take any object as a model.
However, instances of Model (and subclasses) keep the dependents locally
in an instance variable; thus speeding up access a bit.
[Instance variables:]
dependents <Collection> those objects which depend on me.
To save some storage, a single dependent
is kept directly here.
Otherwise, if there are multiple dependents,
a collection of dependents is held here.
Related information:
ValueHolder
SelectionInList
[introduction to view programming]
Instance protocol:converting
|
|
|
ST/X 6.1.1; WebServer 1.620 at exept:8081; Tue, 22 May 2012 21:19:01 GMT
|