|
Class: ArbitraryComponentSpec
Object
|
+--UISpecification
|
+--ComponentSpec
|
+--NamedSpec
|
+--MenuComponentSpec
|
+--ViewWithScrollerSpec
|
+--ArbitraryComponentSpec
|
+--NonScrollableArbitraryComponentSpec
- Package:
- stx:libui
- Category:
- Interface-Support-UI-Specs
- Version:
- rev:
1.122
date: 2024/04/08 14:29:30
- user: matilk
- file: ArbitraryComponentSpec.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.
image specs
-
icon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
ImageEditor openOnClass:self andSelector:#icon
|
interface specs
-
basicsEditSpec
-
This resource specification was automatically generated
by the UIPainter of ST/X.
Usage example(s):
UIPainter new openOnClass:ArbitraryComponentSpec andSelector:#basicsEditSpec
|
-
channelsEditSpec
-
This resource specification was automatically generated
by the UIPainter of ST/X.
Usage example(s):
UIPainter new openOnClass:ArbitraryComponentSpec andSelector:#channelsEditSpec
|
-
detailsEditSpec
-
This resource specification was automatically generated
by the UIPainter of ST/X.
Usage example(s):
UIPainter new openOnClass:ArbitraryComponentSpec andSelector:#detailsEditSpec
|
-
idModelWindowBoxSpec
-
This resource specification was automatically generated
by the UIPainter of ST/X.
Usage example(s):
UIPainter new openOnClass:ArbitraryComponentSpec andSelector:#idModelWindowBoxSpec
|
interface-painter
-
addBindingsTo: env for: inst channel: aChannel
-
add bindings as required to allow the GUI Painter to operate on an instance of me
-
commonReplacementClasses
-
used by the UIPainter's 'replace-by' function
-
slices
-
return the slices for the attribute sections in the GUI Painter
accessing
-
component
-
-
component: something
-
-
hasBorder
-
-
hasBorder: something
-
-
subAspectHolderDataList
-
-
subAspectHolders
-
-
subAspectHolders: aCollection
-
accessing-channels
-
viewChannel
-
-
viewChannel: something
-
building
-
basicCreateViewFor: aBuilder in: parentView
-
try hard to get some view (Q: too hard ??)
-
createViewFor: aBuilder in: aView
-
(comment from inherited method)
low level create - no attributes are set.
Can be redefined for special creation (see arbitraryComponentSpec)
-
setAttributesIn: aView with: aBuilder
-
set my attributes to aView
-
setColorAttributesIn: aView with: aBuilder
-
set my color attributes to aView
-
setTabable: aView with: aBuilder
-
(comment from inherited method)
kludge for web-building
converting
-
fromLiteralArrayEncoding: aSpecArray
-
read my attributes from aSpecArray
-
skippedInLiteralEncoding
-
define the inst-slots which are skipped when generating a literalArrayEncoding;
(to skip the ones with default values.)
parsing a view
-
fromView: aView callBack: aBlock
-
extract attributes from aView
queries
-
viewClass
-
return the corresponding view class of the spec
queries-UIDefiner
-
actionSelectors
-
add more action selectors (these generate callBack stub methods in the definer)
-
aspectSelectors
-
add more aspect selectors (these can generate aspect methods in the definer)
-
valueSelectors
-
the view is acquired through a value method
visiting
-
acceptUISpecVisitor: aVisitor
-
Double dispatch back to the visitor, passing my type encoded in
the selector (visitor pattern)
|