eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'UISubSpecification':

Home

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

Class: UISubSpecification


Inheritance:

   Object
   |
   +--UISpecification
      |
      +--ComponentSpec
         |
         +--UISubSpecification

Package:
stx:libui
Category:
Interface-Support-UI-Specs
Version:
rev: 1.52 date: 2019/07/18 17:29:24
user: cg
file: UISubSpecification.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
This resource specification was automatically generated
by the UIPainter of ST/X.

usage example(s):

     UIPainter new openOnClass:UISubSpecification andSelector:#basicsEditSpec

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

usage example(s):

     UIPainter new openOnClass:UISubSpecification 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

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

queries
o  supportsSubComponents
answer whether instances of the spec class support sub components


Instance protocol:

accessing
o  majorKey
get the classname providing the specification; on default my class and
base classes are serached for the specification

o  majorKey: something
set the classname providing the specification; on default my class and
base classes are serached for the specification

o  minorKey
get the selector to be called to access the sub specification

o  minorKey: something
set the selector to be called to access the sub specification

building
o  addView: aView toMappingOfBuilder: aBuilder
intentionally left blank - we want the embedded spec to be stored in the mapping for the view;
not my frames-spec

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

o  setupInitialLayoutFor: aView

converting
o  skippedInLiteralEncoding
define the inst-slots which are skipped when generating a literalArrayEncoding;
(to skip the ones with default values.)

private
o  specificationFor: aView with: aBuilder
fetch the subSpecification

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

o  viewClass
return the corresponding view class of the spec

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, 29 Mar 2024 10:42:48 GMT