|
Class: ViewWithLabelSpec
Object
|
+--UISpecification
|
+--ComponentSpec
|
+--ViewWithLabelSpec
|
+--LabelSpec
|
+--ViewWithLabelAndModelSpec
- Package:
- stx:libui
- Category:
- Interface-Support-UI-Specs
- Version:
- rev:
1.115
date: 2022/11/11 12:30:31
- user: cg
- file: ViewWithLabelSpec.st directory: libui
- module: stx stc-classLibrary: libui
Not normally used by applications.
special channel:
enableDisableColor this is an optional boolean channel, which can be
connected to another view's enable channel.
If will change the label's foreground color to the
buttonDisabledColor / buttonEnabledColor respectively.
Use this if labels/framedBoxes etc. are to change their
color under the control of an enable channel.
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.
interface specs
-
basicsEditSpec
-
This resource specification was automatically generated
by the UIPainter of ST/X.
Usage example(s):
UIPainter new openOnClass:ViewWithLabelSpec andSelector:#basicsEditSpec
|
interface-painter
-
addBindingsTo: env for: inst 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
queries
-
supportsLabel
-
answer whether corresponding view instances of the spec class can have labels
accessing
-
adjust
-
return the value of the instance variable 'adjust' (automatically generated)
-
adjust: aSymbolOrString
-
set the value of the instance variable 'adjust' (automatically generated)
-
alignment
-
-
alignment: aSymbol
-
-
defaultAdjust
-
-
formatString
-
-
formatString: aString
-
-
hasCharacterOrientedLabel
-
return the value of the instance variable 'hasCharacterOrientedLabel' (automatically generated)
-
hasCharacterOrientedLabel: aBoolean
-
set the value of the instance variable 'hasCharacterOrientedLabel' (automatically generated)
-
hasImageOrientedLabel
-
-
hasImageOrientedLabel: aBoolean
-
-
label
-
return the label
-
label: aString
-
set the label
-
multiLineLabel
-
specifies if the label string has '\' to be xlated to return
-
multiLineLabel: aBoolean
-
specifies if the label string has '\' to be xlated to return
-
resizeForLabel
-
if true, the label shalt adjust its size to fit the label;
changed to have individidual control over horizontal and vertical resizing
** This is an obsolete interface - do not use it (it may vanish in future versions) **
-
resizeForLabel: aBoolean
-
if true, the label shalt adjust its size to fit the label
-
resizeForLabelHorizontal
-
if true, the label shalt adjust its size to fit the label horizontally
-
resizeForLabelHorizontal: aBoolean
-
if true, the label shalt adjust its size to fit the label horizontally
-
resizeForLabelVertical
-
if true, the label shalt adjust its size to fit the label vertically
-
resizeForLabelVertical: aBoolean
-
if true, the label shalt adjust its size to fit the label vertically
-
setLabel: aLabelString
-
ST-80 compatibility
-
translateLabel
-
return the value of the instance variable 'translateLabel'
-
translateLabel: aBoolean
-
set/clear the flag which controls if the label is translated to a national language
via the application's resources
accessing-channels
-
enableDisableColorChannel
-
-
enableDisableColorChannel: aspectSelector
-
-
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 backgroundColor
-
backgroundColor: something
-
set backgroundColor
-
foregroundColor
-
return foregroundColor
-
foregroundColor: something
-
set foregroundColor
building
-
aspectSelectors
-
add more aspect selectors (these generate aspect methods in the definer)
-
setAttributesIn: aView with: aBuilder
-
set my attributes to aView
-
setChannelsIn: aView with: aBuilder
-
set channels in aView
-
setColorAttributesIn: v with: aBuilder
-
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
-
labelSelector
-
queries-UIDefiner
-
defaultModelValueFor: someAspect
-
used by the UIDefiner - return the aspect's default value
|