|
Smalltalk/X WebserverDocumentation of class 'UIBuilder': |
|
|
Class: UIBuilderInheritance:Object | +--WindowBuilder | +--UIBuilder
Description:
this class allows parsing windowSpecs as created by ST/X's
UIPainter and should be able to handle most of ST-80's specs.
(and thereby allow to run applications built with this tool).
However, it is not guaranteed that all of ST-80's winSpecs are understood.
It also provides some rudimentary support for building interfaces
programatically, by using #newComposite .. #add: .. #endComposite.
This has been added for ST80-compatibility - we do not recommend using
that for new ST/X programs.
Those were added to allow execution of some PD applications.
The programatic building protocol is not complete and certainly not bug free.
Notice:
some of this class was implemented using protocol information
from alpha testers, literature and by reading public domain code
- it may not be complete or compatible to
the corresponding ST-80 class.
If you encounter any incompatibilities, please forward a note
describing the incompatibility verbal (i.e. no code) to the ST/X team.
[instance variables:]
view <View>
temporary - holds the view being built
when creating components using the
programmatic building interface.
currentMenuSelector not yet used
spec <UISpec>
temporary - holds the spec being parsed
when creating components using the
programmatic building interface.
specStack <Collection>
temporary - holds the spec-stack when
creating composites using newComposite/
endComposite,
while creating components using the
programmatic building interface.
composite <SpecCollection>
temporary - holds the current composite
when using newComposite/ endComposite,
while creating components using the
programmatic building interface.
lastComponent <View>
temporary - holds the last component
being built,
when creating components using the
programmatic building interface.
compositeView <View>
temporary - holds the current composites
view, when creating components using the
programmatic building interface.
menuBar not yet used
isEditing <Boolean>
flag which is set when an interface is built
by the UIPainter (as opposed to being built
for the application).
Changes the way aspects are acquired,
(actually, no models are created/set)
to prevent false building when no
real applicationModel is present.
(as is the case when the painter builds
components).
Class protocol:initialization
Instance protocol:Compatibility-VW
|
|
|
ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Wed, 17 Dec 2025 08:17:35 GMT
|