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.31 date: 2022/02/11 15:26:59
user: cg
file: ScrollableViewSpec.st directory: libui
module: stx stc-classLibrary: libui

Description:


Not normally used by applications.

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:

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
(comment from inherited method)
returns the view class to be created for that spec
This is an instance method, since it may depend on some attribute.
However, here we ask the class, to allow for class-specific defaults.



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 04:33:28 GMT