eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'ScrollableViewSpec':

Home

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

Class: ScrollableViewSpec


Inheritance:

   Object
   |
   +--UISpecification
      |
      +--ComponentSpec
         |
         +--ViewWithSubcomponentsSpec
            |
            +--ScrollableViewSpec

Package:
stx:libui
Category:
Interface-Support-UI-Specs
Version:
rev: 1.27 date: 2018/11/19 13:32:29
user: cg
file: ScrollableViewSpec.st directory: libui
module: stx stc-classLibrary: libui
Author:
Claus Atzkern

Description:


Not normally used by applications.


Related information:

    UIBuilder
    UIPainter

Class protocol:

interface - painter
o  addBindingsTo: env for: anInstance channel: aChannel
(comment from inherited method)
add bindings as required to allow the GUI Painter to operate on an instance of me

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

usage example(s):

     UIPainter new openOnClass:ScrollableViewSpec andSelector:#basicsEditSpec

parsing a view
o  fromView: aView callBack: aTwoArgCallBackBlock
(comment from inherited method)
create and return a new instance, by walking over a view's hierarchy.
(used by the UIPainters pick-a-view function).
For every created subSpec-element, the callBackBlock is evaluated,
passing the specElement and the view as arguments.
This can be used to fill in additional information, which cannot be
extracted from the view (for example: names, aspects etc.).
The callBack argument may be nil.

queries
o  canResizeSubComponents
(comment from inherited method)
answer whether included sub components can be resized or are handled by the view itself

o  isLayoutContainer


Instance protocol:

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

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

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

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

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

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

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

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

building
o  buildComponentFor: aBuilder in: v

o  createViewFor: aBuilder in: aView
low level create - no attributes are set.
Can be redefined for special creation (see arbitraryComponentSpec)

o  setupInitialLayoutFor: aSubView

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

parsing a view
o  componentFromView: aView callBack: aBlock

o  fromView: aView callBack: aBlock
(comment from inherited method)
extract attributes from aView

queries
o  defaultModelClassFor: something
used by the UIPainters aspectGenerator

o  needsRebuildForAttributes
(comment from inherited method)
return true, if my view must be rebuild
when an attribute changes.
True may be returned by a concrete subclass,
if attribute changes imply a view-class change
(such as horizontal/vertical)

o  viewClass



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Fri, 26 Apr 2024 05:58:13 GMT