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.137 date: 2023/08/02 15:42:41
user: stefan
file: WindowSpec.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:

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

o  hasVerticalScrollBar

o  hasVerticalScrollBar: aBoolean

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

o  miniScrollerVertical

o  miniScrollerVertical: aBoolean

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: aBoolean
set the value of the instance variable 'usePreferredExtent' (automatically generated)

o  uuid: anId
(comment from inherited method)
this UUID MUST be unique among all specs.
When the spec is used by the builder,
this uuid is set in the generated view;
Thus, all views which will ever be created will get this same
uuid assigned, and can thus be accessed using that id,
independent of their hierarchy, label, contents etc.
Useful for automation of Smalltalk applications (i.e. expecco).

If a spec has no uuid, it will get one assigned, when stored the next time
(and then remain fix forever)

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

Usage example(s):

     |top|

     top := StandardSystemView new.
     top extent:200@350.
     top label:'hello'.

     (WindowSpec fromView:top) inspect

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.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sat, 21 Dec 2024 15:34:38 GMT