|
Class: ScrollableViewSpec
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
Not normally used by applications.
copyrightCOPYRIGHT (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.
interface - painter
-
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
-
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
-
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
-
canResizeSubComponents
-
(comment from inherited method)
answer whether included sub components can be resized or are handled by the view itself
-
isLayoutContainer
-
accessing
-
hasHorizontalScrollBar
-
return the value of the instance variable 'hasHorizontalScrollBar' (automatically generated)
-
hasHorizontalScrollBar: something
-
set the value of the instance variable 'hasHorizontalScrollBar' (automatically generated)
-
hasVerticalScrollBar
-
return the value of the instance variable 'hasVerticalScrollBar' (automatically generated)
-
hasVerticalScrollBar: something
-
set the value of the instance variable 'hasVerticalScrollBar' (automatically generated)
-
miniScrollerHorizontal
-
return the value of the instance variable 'miniScrollerHorizontal' (automatically generated)
-
miniScrollerHorizontal: something
-
set the value of the instance variable 'miniScrollerHorizontal' (automatically generated)
-
miniScrollerVertical
-
return the value of the instance variable 'miniScrollerVertical' (automatically generated)
-
miniScrollerVertical: something
-
set the value of the instance variable 'miniScrollerVertical' (automatically generated)
building
-
buildComponentFor: aBuilder in: v
-
-
createViewFor: aBuilder in: aView
-
low level create - no attributes are set.
Can be redefined for special creation (see arbitraryComponentSpec)
-
setupInitialLayoutFor: aSubView
-
converting
-
skippedInLiteralEncoding
-
define the inst-slots which are skipped when generating a literalArrayEncoding;
(to skip the ones with default values.)
parsing a view
-
componentFromView: aView callBack: aBlock
-
-
fromView: aView callBack: aBlock
-
(comment from inherited method)
extract attributes from aView
queries
-
defaultModelClassFor: something
-
used by the UIPainters aspectGenerator
-
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)
-
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.
|