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.32 date: 2022/03/06 09:18:58
user: cg
file: ColorMenuSpec.st directory: libui
module: stx stc-classLibrary: libui

Description:


Not normally used by applications.

Notice:
    used by UISpecifications to add a color menu

copyright

COPYRIGHT (c) 1997 by eXept Software AG 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):

     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.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 06:40:09 GMT