eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'ActionButtonSpec':

Home

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

Class: ActionButtonSpec


Inheritance:

   Object
   |
   +--UISpecification
      |
      +--ComponentSpec
         |
         +--ViewWithLabelSpec
            |
            +--ViewWithLabelAndModelSpec
               |
               +--ActionButtonSpec
                  |
                  +--ArrowButtonSpec
                  |
                  +--ButtonSpec
                  |
                  +--LinkButtonSpec
                  |
                  +--ToggleSpec

Package:
stx:libui
Category:
Interface-Support-UI-Specs
Version:
rev: 1.146 date: 2019/07/18 17:29:50
user: cg
file: ActionButtonSpec.st directory: libui
module: stx stc-classLibrary: libui
Author:
Claus Gittinger
Claus Atzkern

Description:


Not normally used by applications.

Notice: 
    this class was implemented using protocol information
    from alpha testers, literature and by read 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:ActionButtonSpec andSelector:#basicsEditSpec

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

usage example(s):

     UIPainter new openOnClass:ActionButtonSpec andSelector:#basicsEditSubSpec

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

usage example(s):

     UIPainter new openOnClass:ActionButtonSpec andSelector:#channelsEditSpec

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

usage example(s):

     UIPainter new openOnClass:ActionButtonSpec andSelector:#detailsEditSpec

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

usage example(s):

     UIPainter new openOnClass:ActionButtonSpec andSelector:#fontColorSubSpec

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  commonReplacementClasses
used by the UIPainter's 'replace-by' function

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

o  viewClass
only needed for completeness;
UIPainter needs it to generate a replace-by list


Instance protocol:

accessing
o  actionArgument1: something

o  actionArgument2: something

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

o  actionValue2

o  actionValue2: something

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

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

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

o  defaultable
return defaultable

o  defaultable: something
set defaultable

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

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

o  isDefault
return isDefault

o  isDefault: something
set isDefault

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

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

accessing-color & font
o  backgroundColorEnter

o  backgroundColorEnter: something

o  foregroundColorEnter

o  foregroundColorEnter: something

building
o  getBindingIn: aBuilder

o  getBindingIn: aBuilder binding: binding
ST/X extension ...

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

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  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  defaultModelIsCallBackMethodSelector: someAspect
used by the UIPainters aspectGenerator;
Return true if the aspect specifies an action method
(or callBack) as opposed to a real model value.

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; Sun, 05 Apr 2020 13:39:57 GMT