eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'CompositeSpecCollection':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: CompositeSpecCollection


Inheritance:

   Object
   |
   +--UISpecification
      |
      +--ComponentSpec
         |
         +--CompositeSpecCollection

Package:
stx:libui
Category:
Interface-Support-UI-Specs
Version:
rev: 1.9 date: 2013/06/04 10:13:34
user: cg
file: CompositeSpecCollection.st directory: libui
module: stx stc-classLibrary: libui
Author:
Claus Atzkern

Description:


Not normally used by applications.

Notice: 
    this class was implemented using protocol information
    from alpha testers, literature and by read 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.


Related information:

    UIBuilder
    UIPainter

Class protocol:

queries
o  supportsSubComponents
(comment from inherited method)
answer whether instances of the spec class support sub components


Instance protocol:

accessing
o  collection
return collection

o  collection: something
set collection

o  compositeSpec
return compositeSpec

o  compositeSpec: something
set compositeSpec

building
o  buildSubViewsFor: aBuilder in: v

o  buildViewFor: aBuilder in: v
(comment from inherited method)
create and set attributes.
No need to redefine

o  buildViewWithLayoutFor: aBuilder in: v

o  createViewFor: aBuilder in: aView
(comment from inherited method)
low level create - no attributes are set.
Can be redefined for special creation (see arbitraryComponentSpec)

converting
o  fromLiteralArrayEncoding: aSpecArray
initialize my values from a specArray

o  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
o  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
o  fromView: aView callBack: aBlock
(comment from inherited method)
extract attributes from aView

o  fromViews: aCollectionOfViews callBack: aBlock



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Fri, 26 Apr 2024 04:08:07 GMT