|
Class: SpecCollection
Object
|
+--UISpecification
|
+--ComponentSpec
|
+--SpecCollection
- Package:
- stx:libui
- Category:
- Interface-Support-UI-Specs
- Version:
- rev:
1.30
date: 2024/03/05 07:51:17
- user: stefan
- file: SpecCollection.st directory: libui
- module: stx stc-classLibrary: libui
Not normally used by applications.
copyrightCOPYRIGHT (c) 1995 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
-
answer whether instances of the spec class support sub components
accessing
-
collection
-
return collection
-
collection: something
-
set collection
building
-
buildSubViewsFor: aBuilder in: aView
-
can only be nil, if class in a spec is not found.
-
buildViewFor: aBuilder in: v
-
(comment from inherited method)
create and set attributes.
No need to redefine
-
buildViewWithLayoutFor: aBuilder in: aView
-
redefined to suppress the postCreateView for the specCollection itself
(there is no component for it); instead, it will be called for each individual
component in the specCollection
converting
-
fromLiteralArrayEncoding: aSpecArray
-
read my attributes from aSpecArray
-
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
-
extract attributes from aView
** This is an obsolete interface - do not use it (it may vanish in future versions) **
-
fromViews: aCollectionOfViews callBack: aBlock
-
callers will get irritated, if the number of specs does not match
|