eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'ComponentSpec':

Home

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

Class: ComponentSpec


Inheritance:

   Object
   |
   +--UISpecification
      |
      +--ComponentSpec
         |
         +--CompositeSpec
         |
         +--CompositeSpecCollection
         |
         +--DividerSpec
         |
         +--NamedSpec
         |
         +--RegionSpec
         |
         +--SpecCollection
         |
         +--UISubSpecification
         |
         +--ViewWithLabelSpec
         |
         +--ViewWithSubcomponentsSpec
         |
         +--WindowSpec

Package:
stx:libui
Category:
Interface-Support-UI-Specs
Version:
rev: 1.44 date: 2017/11/28 18:21:20
user: cg
file: ComponentSpec.st directory: libui
module: stx stc-classLibrary: libui
Author:
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  channelsEditSpec

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


Instance protocol:

accessing
o  backgroundImage

o  backgroundImage: aspectSelector

o  borderWidth
return border width

o  borderWidth: aWidth
set border width

o  initiallyInvisible

o  initiallyInvisible: something

o  initiallyVisible

o  initiallyVisible: something

o  level
attention: returns anIntegerOrNilOrSymbol

o  level: anIntegerOrNilOrSymbol

accessing-channels
o  backgroundChannel

o  backgroundChannel: aspectSelector

o  foregroundChannel

o  foregroundChannel: aspectSelector

o  visibilityChannel

o  visibilityChannel: something

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

o  setBorderAttributeIn: aView with: aBuilder
set my border attribute to aView

o  setChannelsIn: aView with: aBuilder
set channels in aView

o  setKeyboardFocusAttributesIn: aView with: aBuilder
helper - common code for InputField and TextEditor

o  setLevelAttributeIn: aView with: aBuilder
set my level attribute to aView

o  setMenuIn: aView with: aBuilder
generic support here - sigh menuComponent AND label use it,
but do not inherit (should label inherit from menuComponent ?)

o  setMenuPerformerIn: aMenu forView: aView with: aBuilder
generic support here - sigh menuComponent AND label use it,
but do not inherit (should label inherit from menuComponent ?)

converting
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-UIDefiner
o  aspectSelectors
add more aspect selectors (these generate aspect methods in the definer)

o  defaultModelValueFor: someAspect
used by the UIDefiner - return the aspect's default value



ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Sat, 22 Sep 2018 07:03:32 GMT