author | Claus Gittinger <cg@exept.de> |
Tue, 19 Sep 2000 13:48:19 +0200 | |
changeset 2273 | e40b815ce3e2 |
parent 2150 | 3cee520c3f91 |
child 2293 | edeb8b9be073 |
permissions | -rw-r--r-- |
2150 | 1 |
" |
2 |
COPYRIGHT (c) 1997 by eXept Software AG |
|
3 |
All Rights Reserved |
|
4 |
||
5 |
This software is furnished under a license and may be used |
|
6 |
only in accordance with the terms of that license and with the |
|
7 |
inclusion of the above copyright notice. This software may not |
|
8 |
be provided or otherwise made available to, or used by, any |
|
9 |
other person. No title to or ownership of the software is |
|
10 |
hereby transferred. |
|
11 |
" |
|
12 |
||
13 |
||
1238 | 14 |
ScrollableView subclass:#SequenceView |
15 |
instanceVariableNames:'' |
|
16 |
classVariableNames:'' |
|
17 |
poolDictionaries:'' |
|
1770 | 18 |
category:'Views-Lists' |
1238 | 19 |
! |
20 |
||
21 |
!SequenceView class methodsFor:'documentation'! |
|
22 |
||
2150 | 23 |
copyright |
24 |
" |
|
25 |
COPYRIGHT (c) 1997 by eXept Software AG |
|
26 |
All Rights Reserved |
|
27 |
||
28 |
This software is furnished under a license and may be used |
|
29 |
only in accordance with the terms of that license and with the |
|
30 |
inclusion of the above copyright notice. This software may not |
|
31 |
be provided or otherwise made available to, or used by, any |
|
32 |
other person. No title to or ownership of the software is |
|
33 |
hereby transferred. |
|
34 |
" |
|
35 |
||
36 |
! |
|
37 |
||
1238 | 38 |
documentation |
39 |
" |
|
40 |
implements a SelectionInListView with configurable scrollbars |
|
41 |
||
42 |
ST-80 compatibility |
|
43 |
||
44 |
[see also:] |
|
45 |
SelectionInListView |
|
46 |
" |
|
47 |
! |
|
48 |
||
49 |
examples |
|
50 |
" |
|
51 |
same behavior as a SelectionInListView |
|
52 |
[exBegin] |
|
53 |
|top doc holder| |
|
54 |
||
55 |
top := StandardSystemView extent:500@500. |
|
56 |
doc := self origin:0.0@ 0.0 corner:1.0@1.0 in:top. |
|
57 |
top openAndWait. |
|
58 |
doc list:#( 'a' 'b' 'c' 'd' ). |
|
59 |
doc multipleSelectOk:true. |
|
60 |
[exEnd] |
|
61 |
" |
|
62 |
||
63 |
! ! |
|
64 |
||
1592 | 65 |
!SequenceView class methodsFor:'defaults'! |
66 |
||
67 |
defaultFont |
|
68 |
^ SelectionInListView defaultFont |
|
69 |
||
70 |
"Created: / 20.6.1998 / 14:17:01 / cg" |
|
71 |
! ! |
|
72 |
||
2100 | 73 |
!SequenceView methodsFor:'Compatibility - ST80'! |
1602
35e103b2f981
added #optimizeForText (dummy - ST80 compat)
Claus Gittinger <cg@exept.de>
parents:
1592
diff
changeset
|
74 |
|
35e103b2f981
added #optimizeForText (dummy - ST80 compat)
Claus Gittinger <cg@exept.de>
parents:
1592
diff
changeset
|
75 |
optimizeForText |
35e103b2f981
added #optimizeForText (dummy - ST80 compat)
Claus Gittinger <cg@exept.de>
parents:
1592
diff
changeset
|
76 |
"dummy - ST-80 compatibility" |
35e103b2f981
added #optimizeForText (dummy - ST80 compat)
Claus Gittinger <cg@exept.de>
parents:
1592
diff
changeset
|
77 |
|
35e103b2f981
added #optimizeForText (dummy - ST80 compat)
Claus Gittinger <cg@exept.de>
parents:
1592
diff
changeset
|
78 |
"Created: / 6.7.1998 / 13:26:18 / cg" |
35e103b2f981
added #optimizeForText (dummy - ST80 compat)
Claus Gittinger <cg@exept.de>
parents:
1592
diff
changeset
|
79 |
! ! |
35e103b2f981
added #optimizeForText (dummy - ST80 compat)
Claus Gittinger <cg@exept.de>
parents:
1592
diff
changeset
|
80 |
|
1238 | 81 |
!SequenceView methodsFor:'accessing'! |
82 |
||
83 |
font:aFont |
|
84 |
"set the font for the scrooled view |
|
85 |
" |
|
86 |
super font:aFont. |
|
87 |
self scrolledView font:aFont. |
|
88 |
! ! |
|
89 |
||
90 |
!SequenceView methodsFor:'initialization'! |
|
91 |
||
92 |
initialize |
|
93 |
"setup scrollable view a SelectionInList instance |
|
94 |
" |
|
95 |
super initialize. |
|
96 |
||
97 |
self verticalScrollable:true; verticalMini:false. |
|
98 |
self horizontalScrollable:true; horizontalMini:false. |
|
99 |
||
100 |
self scrolledView:SelectionInListView new |
|
101 |
||
102 |
||
103 |
! ! |
|
104 |
||
105 |
!SequenceView class methodsFor:'documentation'! |
|
106 |
||
107 |
version |
|
2150 | 108 |
^ '$Header: /cvs/stx/stx/libwidg/SequenceView.st,v 1.7 2000-02-18 14:36:17 cg Exp $' |
1238 | 109 |
! ! |