|
Class: CompositeSpecCollection
Object
|
+--UISpecification
|
+--ComponentSpec
|
+--CompositeSpecCollection
- Package:
- stx:libui
- Category:
- Interface-Support-UI-Specs
- Version:
- rev:
1.13
date: 2023/04/03 11:51:41
- user: stefan
- file: CompositeSpecCollection.st directory: libui
- module: stx stc-classLibrary: libui
Not normally used by applications.
Notice:
this class was implemented using protocol information
from alpha testers, literature and by reading public domain code
- it may be incomplete or oncompatible 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.
copyrightCOPYRIGHT (c) 1996 by Claus Gittinger
All Rights Reserved
This software is furnished under a license and may be used
only in accordance with the terms of that license and with the
inclusion of the above copyright notice. This software may not
be provided or otherwise made available to, or used by, any
other person. No title to or ownership of the software is
hereby transferred.
queries
-
supportsSubComponents
-
(comment from inherited method)
answer whether instances of the spec class support sub components
accessing
-
collection
-
return collection
-
collection: something
-
set collection
-
compositeSpec
-
return compositeSpec
-
compositeSpec: something
-
set compositeSpec
building
-
buildSubViewsFor: aBuilder in: v
-
-
buildViewFor: aBuilder in: v
-
(comment from inherited method)
create and set attributes.
No need to redefine
-
buildViewWithLayoutFor: aBuilder in: v
-
-
createViewFor: aBuilder in: aView
-
(comment from inherited method)
low level create - no attributes are set.
Can be redefined for special creation (see arbitraryComponentSpec)
converting
-
fromLiteralArrayEncoding: aSpecArray
-
initialize my values from a specArray
-
literalArrayEncoding
-
(comment from inherited method)
generate a literalArrayEncoding array for myself.
This uses #literalArrayEncodingSlotOrder which defines the slots and
order and #skippedInLiteralEncoding which defines slots to skip.
For most subclasses, there is no need to redefine those.
enumerating
-
do: aBlock
-
(comment from inherited method)
evaluate aBlock for me and all of my sub-componen-specs.
To be redefined in specs which have children
parsing a view
-
fromView: aView callBack: aBlock
-
(comment from inherited method)
extract attributes from aView
-
fromViews: aCollectionOfViews callBack: aBlock
-
|