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.13 date: 2023/04/03 11:51:41
user: stefan
file: CompositeSpecCollection.st directory: libui
module: stx stc-classLibrary: libui

Description:


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.

copyright

COPYRIGHT (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.

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.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 06:27:24 GMT