|
Class: WindowSpec
Object
|
+--UISpecification
|
+--ComponentSpec
|
+--WindowSpec
- Package:
- stx:libui
- Category:
- Interface-Support-UI-Specs
- Version:
- rev:
1.137
date: 2023/08/02 15:42:41
- user: stefan
- file: WindowSpec.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) 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.
defaults
-
defaultExtentInUIPainter
-
image specs
-
icon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
ImageEditor openOnClass:self andSelector:#icon
|
instance creation
-
label: aString
-
interface specs
-
basicsEditSpec
-
This resource specification was automatically generated
by the UIPainter of ST/X.
Usage example(s):
UIPainter new openOnClass:WindowSpec andSelector:#basicsEditSpec
|
-
channelsEditSpec
-
This resource specification was automatically generated
by the UIPainter of ST/X.
Usage example(s):
UIPainter new openOnClass:WindowSpec andSelector:#channelsEditSpec
|
-
detailsEditSpec
-
This resource specification was automatically generated
by the UIPainter of ST/X.
Usage example(s):
UIPainter new openOnClass:WindowSpec andSelector:#detailsEditSpec
|
-
exportChannelSpec
-
This resource specification was automatically generated
by the UIPainter of ST/X.
Usage example(s):
UIPainter new openOnClass:WindowSpec andSelector:#exportChannelSpec
|
interface-painter
-
addBindingsTo: env for: anInstance channel: aChannel
-
add bindings as required to allow the GUI Painter to operate on an instance of me
-
slices
-
return the slices for the attribute sections in the GUI Painter
accessing
-
autoHideScrollBars
-
return the value of the instance variable 'autoHideScrollBars' (automatically generated)
-
autoHideScrollBars: aBooleanOrNil
-
set the value of the instance variable 'autoHideScrollBars' (automatically generated)
-
bounds
-
return bounds
-
bounds: something
-
set bounds
-
escapeIsCancelInDialog
-
-
escapeIsCancelInDialog: aBoolean
-
-
forceRecursiveBackground
-
-
forceRecursiveBackground: aBoolean
-
-
forceRecursiveBackgroundOfDefaultBackground
-
-
forceRecursiveBackgroundOfDefaultBackground: aBoolean
-
-
hasHorizontalScrollBar
-
-
hasHorizontalScrollBar: aBoolean
-
-
hasVerticalScrollBar
-
-
hasVerticalScrollBar: aBoolean
-
-
icon
-
return the value of the instance variable 'icon' (automatically generated)
-
icon: something
-
set the value of the instance variable 'icon' (automatically generated)
-
iconLabel
-
return the value of the instance variable 'iconLabel' (automatically generated)
-
iconLabel: something
-
set the value of the instance variable 'iconLabel' (automatically generated)
-
label
-
return label
-
label: something
-
set label
-
max
-
return max
-
max: something
-
set max
-
maxX
-
return max x
-
maxX: n
-
set max x
-
maxY
-
return max y
-
maxY: n
-
set max y
-
menu
-
return the value of the instance variable 'menu' (automatically generated)
-
menu: something
-
set the value of the instance variable 'menu' (automatically generated)
-
menuPerformer
-
-
min
-
return min
-
min: something
-
set min
-
minX
-
return min x
-
minX: n
-
set min x
-
minY
-
return min y
-
minY: n
-
set min y
-
miniScrollerHorizontal
-
-
miniScrollerHorizontal: aBoolean
-
-
miniScrollerVertical
-
-
miniScrollerVertical: aBoolean
-
-
name: something
-
set label
-
performer
-
return the value of the instance variable 'performer' (automatically generated)
-
performer: something
-
set the value of the instance variable 'performer' (automatically generated)
-
returnIsOKInDialog
-
-
returnIsOKInDialog: aBoolean
-
-
usePreferredExtent
-
return the value of the instance variable 'usePreferredExtent' (automatically generated)
-
usePreferredExtent: aBoolean
-
set the value of the instance variable 'usePreferredExtent' (automatically generated)
-
uuid: anId
-
(comment from inherited method)
this UUID MUST be unique among all specs.
When the spec is used by the builder,
this uuid is set in the generated view;
Thus, all views which will ever be created will get this same
uuid assigned, and can thus be accessed using that id,
independent of their hierarchy, label, contents etc.
Useful for automation of Smalltalk applications (i.e. expecco).
If a spec has no uuid, it will get one assigned, when stored the next time
(and then remain fix forever)
accessing-channels
-
labelChannel
-
return the value of the instance variable 'labelChannel' (automatically generated)
-
labelChannel: something
-
set the value of the instance variable 'labelChannel' (automatically generated)
accessing-color & font
-
backgroundColor
-
return the value of the instance variable 'backgroundColor' (automatically generated)
-
backgroundColor: something
-
set the value of the instance variable 'backgroundColor' (automatically generated)
accessing-dummies
-
isEventDriven: aBoolean
-
what is that supposed to mean ?
accessing-export
-
exportedAspects
-
-
exportedAspects: aList
-
-
exportedAspectsAddKey: aKey type: aTypeOrNil
-
-
setExportedAspects: theAspects
-
-
setExportedAspectsFrom: aList
-
building
-
buildView
-
-
buildViewFor: aBuilder
-
notice: the menu and scrollBars are setup in FullSpec ...
-
postBuildView: aView for: aBuilder
-
callback from builder, when a components subComponents
have been built - allows for late fixups ...
-
recursivelySetViewBackgroundsInView: aView for: aBuilder
-
-
scaledValue: val
-
-
setAttributesIn: aView with: aBuilder
-
set my attributes to aView
-
setBackgroundColorAttributesIn: aView with: aBuilder
-
-
setChannelsIn: aView with: aBuilder
-
set channels in aView
-
setupView: v for: aBuilder
-
converting
-
flags
-
-
flags: something
-
-
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.)
copying
-
copy
-
have to copy my exported aspects
kludge-helpers
-
copyValuesFromSpec: aWindowSpec
-
needed for the UIPainter...
parsing a view
-
fromView: aView callBack: aBlock
-
extract attributes from aView
Usage example(s):
|top|
top := StandardSystemView new.
top extent:200@350.
top label:'hello'.
(WindowSpec fromView:top) inspect
|
queries
-
documentFileName
-
returns the basename of the file, which contains the html documentation for
the widget (shown in the UI-Painters widget-doc).
-
hasHScroller
-
returns true if horizontal scrollers are configured
-
hasVScroller
-
returns true if vertical scrollers are configured
-
menuSelector
-
-
menuSelector: something
-
-
pullDownMenuIn: aBuilder
-
returns the pulldown menu or nil
queries-UIDefiner
-
aspectSelectors
-
answer the selectors used to fetch aspects
testing
-
isWindowSpec
-
visiting
-
acceptUISpecVisitor: aVisitor
-
Double dispatch back to the visitor, passing my type encoded in
the selector (visitor pattern)
|