eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'PopUpListSpec':

Home

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

Class: PopUpListSpec


Inheritance:

   Object
   |
   +--UISpecification
      |
      +--ComponentSpec
         |
         +--ViewWithLabelSpec
            |
            +--ViewWithLabelAndModelSpec
               |
               +--PopUpListSpec
                  |
                  +--MenuButtonSpec

Package:
stx:libui
Category:
Interface-Support-UI-Specs
Version:
rev: 1.88 date: 2022/03/06 09:19:19
user: cg
file: PopUpListSpec.st directory: libui
module: stx stc-classLibrary: libui

Description:


not normally used by applications.

copyright

COPYRIGHT (c) 1995 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:

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:PopUpListSpec andSelector:#basicsEditSpec

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

Usage example(s):

     UIPainter new openOnClass:PopUpListSpec andSelector:#channelsEditSpec

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

Usage example(s):

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


Instance protocol:

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

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

o  defaultAdjust

o  ignoreReselect
controls if clicking on an already selected item should
be ignored or should perform the select action again.
By default, these are ignored

o  ignoreReselect: something
controls if clicking on an already selected item should
be ignored or should perform the select action again.
By default, these are ignored

o  listSelector

o  listSelector: something

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

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

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

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

o  stateChangeCallBackSelector

o  stateChangeCallBackSelector: something

o  useIndex
use index instead of name

o  useIndex: aBool
use index instead of name

accessing-dummy
o  isPopUp: dummy

building
o  defineCallBacksFor: aBuilder view: aView
transform ST-80 Style callBackSpec

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

o  setModelAttributeIn: aView with: aBuilder
set my model attributes to aView (or its model)

o  validateModel: aModel forView: aView withValue: constantList
about to set the model.
If it's a plain valueHolder, change the listMessage
to #value

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: aPopUpList callBack: aBlock
extract attributes from aView

queries
o  usefulReplacementSpecClassNames

queries-UIDefiner
o  aspectSelectors
add more aspect selectors these generate aspect methods in the definer

o  defaultModelClassFor: someAspect
used by the UIPainters aspectGenerator

visiting
o  acceptUISpecVisitor: aVisitor
Double dispatch back to the visitor, passing my type encoded in
the selector (visitor pattern)



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sun, 22 Dec 2024 05:36:07 GMT