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.61 date: 2023/04/03 11:52:01
user: stefan
file: WidgetSpec.st directory: libui
module: stx stc-classLibrary: libui

Description:


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.

copyright

COPYRIGHT (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.

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


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.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sat, 27 Jul 2024 08:52:08 GMT