eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'ArbitraryComponentSpec':

Home

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

Class: ArbitraryComponentSpec


Inheritance:

   Object
   |
   +--UISpecification
      |
      +--ComponentSpec
         |
         +--NamedSpec
            |
            +--MenuComponentSpec
               |
               +--ViewWithScrollerSpec
                  |
                  +--ArbitraryComponentSpec
                     |
                     +--NonScrollableArbitraryComponentSpec

Package:
stx:libui
Category:
Interface-Support-UI-Specs
Version:
rev: 1.106 date: 2019/03/01 17:46:54
user: stefan
file: ArbitraryComponentSpec.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:

image specs
o  icon
This resource specification was automatically generated
by the ImageEditor of ST/X.

usage example(s):

     ImageEditor openOnClass:self andSelector:#icon

interface specs
o  basicsEditSpec
This resource specification was automatically generated
by the UIPainter of ST/X.

usage example(s):

     UIPainter new openOnClass:ArbitraryComponentSpec andSelector:#basicsEditSpec

o  channelsEditSpec
This resource specification was automatically generated
by the UIPainter of ST/X.

usage example(s):

     UIPainter new openOnClass:ArbitraryComponentSpec andSelector:#channelsEditSpec

o  detailsEditSpec
This resource specification was automatically generated
by the UIPainter of ST/X.

usage example(s):

     UIPainter new openOnClass:ArbitraryComponentSpec andSelector:#detailsEditSpec

o  idModelWindowBoxSpec
This resource specification was automatically generated
by the UIPainter of ST/X.

usage example(s):

     UIPainter new openOnClass:ArbitraryComponentSpec andSelector:#idModelWindowBoxSpec

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  commonReplacementClasses
used by the UIPainter's 'replace-by' function

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


Instance protocol:

accessing
o  component

o  component: something

o  hasBorder

o  hasBorder: something

o  subAspectHolderDataList

o  subAspectHolders

o  subAspectHolders: aCollection

accessing-channels
o  viewChannel

o  viewChannel: something

building
o  createViewFor: aBuilder in: aView
(comment from inherited method)
low level create - no attributes are set.
Can be redefined for special creation (see arbitraryComponentSpec)

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

o  setColorAttributesIn: aView with: aBuilder
set my color 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

queries
o  viewClass
return the corresponding view class of the spec

queries-UIDefiner
o  actionSelectors
add more action selectors (these generate callBack stub methods in the definer)

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

o  valueSelectors
the view is acquired through a value method

visiting
o  acceptUISpecVisitor: aVisitor
Double dispatch back to the visitor, passing my type encoded in
the selector (visitor pattern)



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Fri, 19 Apr 2024 03:18:17 GMT