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.55 date: 2023/04/03 11:51:31
user: stefan
file: ComponentSpec.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  channelsEditSpec
(comment from inherited method)
This resource specification was automatically generated
by the UIPainter of ST/X.

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: aspectSelector
Modified (format): / 17-01-2022 / 12:15:28 / cg

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.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 04:46:29 GMT