|
Class: FullSpec
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
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.
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.
accessing
-
usedBackgroundColor
-
-
window
-
-
window: something
-
set window
building
-
buildViewFor: aBuilder
-
-
buildViewFor: aBuilder in: aWindowOrNil
-
cg: no menuPanels are not tabable
-
fromBuilder: aView components: aListOfComponents
-
-
setupView: aView for: aBuilder
-
converting
-
fromLiteralArrayEncoding: aSpecArray
-
read my attributes from aSpecArray
-
literalArrayEncoding
-
for compatibility: return an order to generate the window-stuff BEFORE the component stuff
-
literalArrayEncodingSlotOrder
-
for compatibility: return an order to generate the window-stuff BEFORE the component stuff
Usage example(s):
super literalArrayEncodingSlotOrder
|
enumerating
-
do: aBlock
-
inspecting
-
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
-
fromView: aView callBack: aBlock
-
extract attributes from aView
testing
-
isValidSpec
-
answer true, if this ia a real spec that can be used to build a view
visiting
-
acceptUISpecVisitor: aVisitor
-
Double dispatch back to the visitor, passing my type encoded in
the selector (visitor pattern)
|