eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'ViewWithLabelSpec':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: ViewWithLabelSpec


Inheritance:

   Object
   |
   +--UISpecification
      |
      +--ComponentSpec
         |
         +--ViewWithLabelSpec
            |
            +--LabelSpec
            |
            +--ViewWithLabelAndModelSpec

Package:
stx:libui
Category:
Interface-Support-UI-Specs
Version:
rev: 1.97 date: 2018/05/24 09:32:46
user: cg
file: ViewWithLabelSpec.st directory: libui
module: stx stc-classLibrary: libui
Author:
Claus Atzkern

Description:


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.


Related information:

    UIBuilder
    UIPainter

Class protocol:

interface specs
o  basicsEditSpec
This resource specification was automatically generated
by the UIPainter of ST/X.
usage example(s):
     UIPainter new openOnClass:ViewWithLabelSpec andSelector:#basicsEditSpec

interface-painter
o  addBindingsTo: env for: inst channel: aChannel
add bindings as required to allow the GUI Painter to operate on an instance of me

o  slices
return the slices for the attribute sections in the GUI Painter

queries
o  supportsLabel
answer whether corresponding view instances of the spec class can have labels


Instance protocol:

accessing
o  adjust
return the value of the instance variable 'adjust' (automatically generated)

o  adjust: something
set the value of the instance variable 'adjust' (automatically generated)

o  alignment

o  alignment: aSymbol

o  defaultAdjust

o  formatString

o  formatString: something

o  hasCharacterOrientedLabel
return the value of the instance variable 'hasCharacterOrientedLabel' (automatically generated)

o  hasCharacterOrientedLabel: something
set the value of the instance variable 'hasCharacterOrientedLabel' (automatically generated)

o  hasImageOrientedLabel

o  hasImageOrientedLabel: something

o  label
return the label

o  label: aString
set the label

o  multiLineLabel
specifies if the label string has '\' to be xlated to return

o  multiLineLabel: aBoolean
specifies if the label string has '\' to be xlated to return

o  resizeForLabel
return the value of the instance variable 'resizeForLabel' (automatically generated)

o  resizeForLabel: something
set the value of the instance variable 'resizeForLabel' (automatically generated)

o  setLabel: aLabel
ST-80 compatibility

o  translateLabel
return the value of the instance variable 'translateLabel' (automatically generated)

o  translateLabel: something
set the value of the instance variable 'translateLabel' (automatically generated)

accessing-channels
o  enableDisableColorChannel

o  enableDisableColorChannel: aspectSelector

o  labelChannel
return the value of the instance variable 'labelChannel' (automatically generated)

o  labelChannel: something
set the value of the instance variable 'labelChannel' (automatically generated)

accessing-color & font
o  backgroundColor
return backgroundColor

o  backgroundColor: something
set backgroundColor

o  foregroundColor
return foregroundColor

o  foregroundColor: something
set foregroundColor

building
o  aspectSelectors
add more aspect selectors (these generate aspect methods in the definer)

o  setAttributesIn: aView with: aBuilder
set my attributes to aView

o  setChannelsIn: aView with: aBuilder
set channels in aView

o  setColorAttributesIn: v with: aBuilder

converting
o  fromLiteralArrayEncoding: aSpecArray
read my attributes from aSpecArray

o  skippedInLiteralEncoding
define the inst-slots which are skipped when generating a literalArrayEncoding;
(to skip the ones with default values.)

parsing a view
o  fromView: aView callBack: aBlock
extract attributes from aView

queries
o  labelSelector



ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Wed, 20 Mar 2019 23:22:34 GMT