eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'WidgetSpec':

Home

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

Class: WidgetSpec


Inheritance:

   Object
   |
   +--UISpecification
      |
      +--ComponentSpec
         |
         +--NamedSpec
            |
            +--WidgetSpec
               |
               +--CheckBoxSpec
               |
               +--ComboListSpec
               |
               +--ExtendedComboBoxSpec

Package:
stx:libui
Category:
Interface-Support-UI-Specs
Version:
rev: 1.54 date: 2017/11/28 18:21:54
user: cg
file: WidgetSpec.st directory: libui
module: stx stc-classLibrary: libui
Author:
Claus Gittinger
Claus Atzkern

Description:


Not normally used by applications.

Notice: 
    this class was implemented using protocol information
    from alpha testers, literature and by read public domain code
    - it may not be complete or compatible 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.


Related information:

    UIBuilder
    UIPainter

Class protocol:

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

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


Instance protocol:

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

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

accessing-color & font
o  backgroundColor

o  backgroundColor: aColor

o  foregroundColor

o  foregroundColor: aColor

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

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



ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Mon, 23 Jul 2018 11:29:38 GMT