eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'WindowSpec':

Home

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

Class: WindowSpec


Inheritance:

   Object
   |
   +--UISpecification
      |
      +--ComponentSpec
         |
         +--WindowSpec

Package:
stx:libui
Category:
Interface-Support-UI-Specs
Version:
rev: 1.128 date: 2018/12/22 16:36:14
user: cg
file: WindowSpec.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:

defaults
o  defaultExtentInUIPainter

image specs
o  icon
This resource specification was automatically generated
by the ImageEditor of ST/X.

usage example(s):

     ImageEditor openOnClass:self andSelector:#icon

instance creation
o  label: aString

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

usage example(s):

     UIPainter new openOnClass:WindowSpec andSelector:#basicsEditSpec

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

usage example(s):

     UIPainter new openOnClass:WindowSpec andSelector:#channelsEditSpec

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

usage example(s):

     UIPainter new openOnClass:WindowSpec andSelector:#detailsEditSpec

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

usage example(s):

     UIPainter new openOnClass:WindowSpec andSelector:#exportChannelSpec

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  autoHideScrollBars
return the value of the instance variable 'autoHideScrollBars' (automatically generated)

o  autoHideScrollBars: aBooleanOrNil
set the value of the instance variable 'autoHideScrollBars' (automatically generated)

o  bounds
return bounds

o  bounds: something
set bounds

o  escapeIsCancelInDialog

o  escapeIsCancelInDialog: aBoolean

o  forceRecursiveBackground

o  forceRecursiveBackground: aBoolean

o  forceRecursiveBackgroundOfDefaultBackground

o  forceRecursiveBackgroundOfDefaultBackground: aBoolean

o  hasHorizontalScrollBar

o  hasHorizontalScrollBar: something

o  hasVerticalScrollBar

o  hasVerticalScrollBar: something

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

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

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

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

o  label
return label

o  label: something
set label

o  max
return max

o  max: something
set max

o  maxX
return max x

o  maxX: n
set max x

o  maxY
return max y

o  maxY: n
set max y

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  menuPerformer

o  min
return min

o  min: something
set min

o  minX
return min x

o  minX: n
set min x

o  minY
return min y

o  minY: n
set min y

o  miniScrollerHorizontal

o  miniScrollerHorizontal: something

o  miniScrollerVertical

o  miniScrollerVertical: something

o  name: something
set label

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

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

o  returnIsOKInDialog

o  returnIsOKInDialog: aBoolean

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

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

accessing-channels
o  labelChannel
return the value of the instance variable 'labelChannel' (automatically generated)

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

accessing-color & font
o  backgroundColor
return the value of the instance variable 'backgroundColor' (automatically generated)

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

accessing-dummies
o  isEventDriven: aBoolean
what is that supposed to mean ?

accessing-export
o  exportedAspects

o  exportedAspects: aList

o  exportedAspectsAddKey: aKey type: aTypeOrNil

o  setExportedAspects: theAspects

o  setExportedAspectsFrom: aList

building
o  buildView

o  buildViewFor: aBuilder
notice: the menu and scrollBars are setup in FullSpec ...

o  postBuildView: aView for: aBuilder
callback from builder, when a components subComponents
have been built - allows for late fixups ...

o  recursivelySetViewBackgroundsInView: aView for: aBuilder

o  scaledValue: val

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

o  setBackgroundColorAttributesIn: aView with: aBuilder

o  setChannelsIn: aView with: aBuilder
set channels in aView

o  setupView: v for: aBuilder

converting
o  flags

o  flags: something

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

copying
o  copy
have to copy my exported aspects

kludge-helpers
o  copyValuesFromSpec: aWindowSpec
needed for the UIPainter...

parsing a view
o  fromView: aView callBack: aBlock
extract attributes from aView

queries
o  documentFileName
returns the basename of the file, which contains the html documentation for
the widget (shown in the UI-Painters widget-doc).

o  hasHScroller
returns true if horizontal scrollers are configured

o  hasVScroller
returns true if vertical scrollers are configured

o  menuSelector

o  menuSelector: something

o  pullDownMenuIn: aBuilder
returns the pulldown menu or nil

queries-UIDefiner
o  aspectSelectors
answer the selectors used to fetch aspects

testing
o  isWindowSpec

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; Tue, 16 Apr 2024 18:47:25 GMT