eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'ComboBoxSpec':

Home

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

Class: ComboBoxSpec


Inheritance:

   Object
   |
   +--UISpecification
      |
      +--ComponentSpec
         |
         +--NamedSpec
            |
            +--MenuComponentSpec
               |
               +--InputFieldSpec
                  |
                  +--ComboBoxSpec
                     |
                     +--ComboBoxWithCompletionSpec

Package:
stx:libui
Category:
Interface-Support-UI-Specs
Version:
rev: 1.80 date: 2023/04/03 11:51:07
user: stefan
file: ComboBoxSpec.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:

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

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

Usage example(s):

     UIPainter new openOnClass:ComboBoxSpec andSelector:#menuSubSpec

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


Instance protocol:

accessing
o  comboList
return the comboList aspect name
which is either the comboList aspect name,
or a constant list to be shown as elements

o  comboList: nameOfAspectOrConstantArray
set either the comboList aspect name,
or a constant list to be shown as elements

o  comboMenuHolder

o  comboMenuHolder: something

o  comboMenuPerformer

o  comboMenuPerformer: something

o  isFilenameBox

o  isFilenameBox: aBoolean

o  listSelector

o  listSelector: something

o  resizableMenu
as yet unimplemented

o  resizableMenu: something
as yet unimplemented

o  type

o  type: aSymbol

o  useIndex

o  useIndex: aBoolean

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

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

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

queries
o  usefulReplacementSpecClassNames

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

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

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; Sat, 21 Dec 2024 17:10:45 GMT