eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'SpecCollection':

Home

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

Class: SpecCollection


Inheritance:

   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

Description:


Not normally used by applications.

copyright

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

Class protocol:

queries
o  supportsSubComponents
answer whether instances of the spec class support sub components


Instance protocol:

accessing
o  collection
return collection

o  collection: something
set collection

building
o  buildSubViewsFor: aBuilder in: aView
can only be nil, if class in a spec is not found.

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

o  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
o  fromLiteralArrayEncoding: aSpecArray
read my attributes from aSpecArray

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
extract attributes from aView

** This is an obsolete interface - do not use it (it may vanish in future versions) **

o  fromViews: aCollectionOfViews callBack: aBlock
callers will get irritated, if the number of specs does not match



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 04:48:11 GMT