eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'MenuPanelSpec':

Home

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

Class: MenuPanelSpec


Inheritance:

   Object
   |
   +--UISpecification
      |
      +--ComponentSpec
         |
         +--NamedSpec
            |
            +--MenuComponentSpec
               |
               +--MenuPanelSpec

Package:
stx:libui
Category:
Interface-Support-UI-Specs
Version:
rev: 1.65 date: 2018/12/22 16:35:59
user: cg
file: MenuPanelSpec.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 reading 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:MenuPanelSpec andSelector:#basicsEditSpec

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

usage example(s):

     UIPainter new openOnClass:MenuPanelSpec andSelector:#channelsEditSpec

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

usage example(s):

     UIPainter new openOnClass:MenuPanelSpec andSelector:#detailsEditSpec

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

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

menu specs-gallery
o  galleryMenu
This resource specification was automatically generated
by the MenuEditor of ST/X.

usage example(s):

     MenuEditor new openOnClass:MenuPanelSpec andSelector:#galleryMenu
     (Menu new fromLiteralArrayEncoding:(MenuPanelSpec galleryMenu)) startUp

o  galleryMenuText
This resource specification was automatically generated
by the MenuEditor of ST/X.

usage example(s):

     MenuEditor new openOnClass:MenuPanelSpec andSelector:#galleryMenuText
     (Menu new fromLiteralArrayEncoding:(MenuPanelSpec galleryMenuText)) startUp

queries
o  supportsLabel
answer whether corresponding view instances of the spec class can have labels


Instance protocol:

accessing
o  centerItems

o  centerItems: aBoolean

o  fitFirstPanel
return the value of the instance variable 'fitFirstPanel' (automatically generated)

o  fitFirstPanel: aBoolean
set the value of the instance variable 'fitFirstPanel' (automatically generated)

o  showSeparatingLines
return the value of the instance variable 'showSeparatingLines' (automatically generated)

o  showSeparatingLines: aBoolean
set the value of the instance variable 'showSeparatingLines' (automatically generated)

o  textDefault

o  textDefault: aBoolean

o  verticalLayout
return the value of the instance variable 'verticalLayout' (automatically generated)

o  verticalLayout: aBoolean
set the value of the instance variable 'verticalLayout' (automatically generated)

accessing-color & font
o  backgroundColor

o  backgroundColor: something

o  foregroundColor

o  foregroundColor: something

building
o  setAttributesIn: aView with: aBuilder
set my 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: aMenuPanel 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; Wed, 29 Nov 2023 18:35:22 GMT