eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'SequenceView':

Home

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

Class: SequenceView


Inheritance:

   Object
   |
   +--GraphicsMedium
      |
      +--DisplaySurface
         |
         +--SimpleView
            |
            +--ScrollableView
               |
               +--SequenceView
                  |
                  +--MultiSelectionSequenceView

Package:
stx:libwidg
Category:
Views-Lists
Version:
rev: 1.16 date: 2023/11/07 16:24:53
user: cg
file: SequenceView.st directory: libwidg
module: stx stc-classLibrary: libwidg

Description:


implements a SelectionInListView with configurable scrollbars

ST-80 compatibility

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:

defaults
o  defaultFont


Instance protocol:

Compatibility-ST80
o  optimizeForText
dummy - ST-80 compatibility

initialization
o  initialize
setup a ScrollableView scrolling a SelectionInList instance

slave-view messages
o  enabled: aBoolean
senders assume that I am the listView - not a wrapper

o  font: aFont
set the font for the scrolled view

o  invalidate
senders assume that I am the listView - not a wrapper

o  invalidate: aRectangle
senders assume that I am the listView - not a wrapper

o  invalidate: aRectangle repairNow: doRepair
senders assume that I am the listView - not a wrapper

o  invalidateDeviceRectangle: aRectangle repairNow: doRepair
senders assume that I am the listView - not a wrapper

o  invalidateRepairNow: doRepair
senders assume that I am the listView - not a wrapper


Examples:


same behavior as a SelectionInListView, but scrollable
|view|

view := self extent:100@100.
view list:#( 'a' 'b' 'c' 'd' 'e' 'f' 'g' 'h' 'in der Ruhe liegt die Kraft').
view multipleSelectOk:true.
view openAndWaitUntilVisible.


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