eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'ViewSpec':

Home

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

Class: ViewSpec


Inheritance:

   Object
   |
   +--UISpecification
      |
      +--ComponentSpec
         |
         +--ViewWithSubcomponentsSpec
            |
            +--ViewSpec
               |
               +--FramedBoxSpec
               |
               +--PanelViewSpec
               |
               +--TransparentBoxSpec
               |
               +--VariablePanelSpec

Package:
stx:libui
Category:
Interface-Support-UI-Specs
Version:
rev: 1.46 date: 2019/05/01 21:51:00
user: cg
file: ViewSpec.st directory: libui
module: stx stc-classLibrary: libui
Author:
Claus Atzkern

Description:


Not normally used by applications.


Related information:

    UIBuilder
    UIPainter

Class protocol:

interface specs
o  basicsEditSpec

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

usage example(s):

     UIPainter new openOnClass:ViewSpec andSelector:#detailsEditSpec

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

usage example(s):

     UIPainter new openOnClass:ViewSpec andSelector:#initiallyVisibleSpec

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  model
return the value of the instance variable 'model' (automatically generated)

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

o  setModel: aModel

accessing-color & font
o  backgroundColor
return the value of the instance variable 'backgroundColor' (automatically generated)

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

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

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  fromLiteralArrayEncoding: aSpecArray
read my attributes from aSpecArray

o  fromView: aView callBack: aBlock
extract attributes from aView

queries
o  userFriendlyName
answer a good noticeable name of the widget for the GUI Painter and the documentation

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; Mon, 04 Jul 2022 12:52:36 GMT