eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'ColorMenuSpec':

Home

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

Class: ColorMenuSpec


Inheritance:

   Object
   |
   +--UISpecification
      |
      +--ComponentSpec
         |
         +--NamedSpec
            |
            +--ColorMenuSpec

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

Description:


Not normally used by applications.

Notice:
    used by UISpecifications to add a color menu


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):

     self icon inspect
     ImageEditor openOnClass:self andSelector:#icon
     Icon flushCachedIcons

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

usage example(s):

     UIPainter new openOnClass:ColorMenuSpec andSelector:#channelsEditSpec

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

usage example(s):

     UIPainter new openOnClass:ColorMenuSpec 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  supportsLabel
answer whether corresponding view instances of the spec class can have labels


Instance protocol:

accessing
o  allowNilColor

o  allowNilColor: aBoolean

o  allowSymbolicColors

o  allowSymbolicColors: aBoolean

o  labelsAreColored
gets whether labels or their backgrounds will be colored.

o  labelsAreColored: aBoolean
sets whether labels or their backgrounds will be colored.

o  useDefaultToggleVisible

o  useDefaultToggleVisible: aBoolean

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

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

initialization
o  initialize

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, 24 Apr 2024 06:36:22 GMT