|
Class: ToggleSpec
Object
|
+--UISpecification
|
+--ComponentSpec
|
+--ViewWithLabelSpec
|
+--ViewWithLabelAndModelSpec
|
+--ActionButtonSpec
|
+--ToggleSpec
|
+--CheckToggleSpec
|
+--RadioButtonSpec
- Package:
- stx:libui
- Category:
- Interface-Support-UI-Specs
- Version:
- rev:
1.93
date: 2024/02/09 11:41:09
- user: stefan
- file: ToggleSpec.st directory: libui
- module: stx stc-classLibrary: libui
Not normally used by applications.
copyrightCOPYRIGHT (c) 1997 by eXept Software AG
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:ToggleSpec andSelector:#basicsEditSpec
|
-
channelsEditSpec
-
This resource specification was automatically generated
by the UIPainter of ST/X.
Usage example(s):
UIPainter new openOnClass:ToggleSpec andSelector:#channelsEditSpec
|
-
colorSubSpec
-
This resource specification was automatically generated
by the UIPainter of ST/X.
Usage example(s):
UIPainter new openOnClass:ToggleSpec andSelector:#colorSubSpec
|
-
detailsEditSpec
-
This resource specification was automatically generated
by the UIPainter of ST/X.
Usage example(s):
UIPainter new openOnClass:ToggleSpec andSelector:#detailsEditSpec
|
interface-painter
-
addBindingsTo: env for: inst channel: aChannel
-
add bindings as required to allow the GUI Painter to operate on an instance of me
accessing
-
lampWidth
-
-
lampWidth: anInteger
-
-
onCallBackSelector
-
-
onCallBackSelector: aSymbolOrNil
-
-
showLamp
-
-
showLamp: aBoolean
-
accessing-color & font
-
lampColor
-
-
lampColor: aColorOrNil
-
building
-
setAttributesIn: aView with: aBuilder
-
set my attributes to aView
-
setModelAttributeIn: aView with: aBuilder
-
set my model attributes to aView (or its model)
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
-
userFriendlyName
-
answer a good noticeable name of the widget for the GUI Painter and the documentation
queries-UIDefiner
-
actionSelectors
-
add more action selectors (these generate callBack stub methods in the definer)
-
defaultModelIsCallBackMethodSelector: someAspect
-
used by the UIPainters aspectGenerator;
Return true if the aspect specifies an action method
(or callBack) as opposed to a real model value.
-
defaultModelValueFor: someAspect
-
used by the UIDefiner - return the aspect's default value
visiting
-
acceptUISpecVisitor: aVisitor
-
Double dispatch back to the visitor, passing my type encoded in
the selector (visitor pattern)
|