eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'FullSpec':

Home

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

Class: FullSpec


Inheritance:

   Object
   |
   +--UISpecification
      |
      +--ComponentSpec
         |
         +--ViewWithSubcomponentsSpec
            |
            +--FullSpec

Package:
stx:libui
Category:
Interface-Support-UI-Specs
Version:
rev: 1.59 date: 2023/04/03 11:52:19
user: stefan
file: FullSpec.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) 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.

Instance protocol:

accessing
o  usedBackgroundColor

o  window

o  window: something
set window

building
o  buildViewFor: aBuilder

o  buildViewFor: aBuilder in: aWindowOrNil
cg: no menuPanels are not tabable

o  fromBuilder: aView components: aListOfComponents

o  setupView: aView for: aBuilder

converting
o  fromLiteralArrayEncoding: aSpecArray
read my attributes from aSpecArray

o  literalArrayEncoding
for compatibility: return an order to generate the window-stuff BEFORE the component stuff

o  literalArrayEncodingSlotOrder
for compatibility: return an order to generate the window-stuff BEFORE the component stuff

Usage example(s):

super literalArrayEncodingSlotOrder

enumerating
o  do: aBlock

inspecting
o  inspectorExtraMenuOperations
(comment from inherited method)
extra operation-menu entries to be shown in an inspector.
Answers a collection of spec-entries containing:
aString is the label of the menu item.
aBlock is evaluated when the menu item is selected.
[optional] boolean or boolean valueHolder if enabled.
To be redefined in objects which think that it makes sense to offer
often used operations in an inspector's top menu.
See SerialPort, Color or FileStream as examples.

parsing a view
o  fromView: aView callBack: aBlock
extract attributes from aView

testing
o  isValidSpec
answer true, if this ia a real spec that can be used to build a view

visiting
o  acceptUISpecVisitor: aVisitor
Double dispatch back to the visitor, passing my type encoded in
the selector (visitor pattern)



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Thu, 10 Oct 2024 10:55:17 GMT