HScroller.st
author Claus Gittinger <cg@exept.de>
Fri, 27 Jun 1997 11:56:45 +0200
changeset 1254 c9e604f03e6a
parent 585 8f395aba0173
child 1768 32eb81e67be1
permissions -rw-r--r--
code compactified (slightly)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
138
claus
parents: 130
diff changeset
     1
"
claus
parents: 130
diff changeset
     2
 COPYRIGHT (c) 1989 by Claus Gittinger
150
claus
parents: 138
diff changeset
     3
	      All Rights Reserved
138
claus
parents: 130
diff changeset
     4
claus
parents: 130
diff changeset
     5
 This software is furnished under a license and may be used
claus
parents: 130
diff changeset
     6
 only in accordance with the terms of that license and with the
claus
parents: 130
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
claus
parents: 130
diff changeset
     8
 be provided or otherwise made available to, or used by, any
claus
parents: 130
diff changeset
     9
 other person.  No title to or ownership of the software is
claus
parents: 130
diff changeset
    10
 hereby transferred.
claus
parents: 130
diff changeset
    11
"
claus
parents: 130
diff changeset
    12
0
e6a541c1c0eb Initial revision
claus
parents:
diff changeset
    13
Scroller subclass:#HorizontalScroller
538
b747ea31b972 use common code for H/V scrollers
Claus Gittinger <cg@exept.de>
parents: 205
diff changeset
    14
	instanceVariableNames:''
b747ea31b972 use common code for H/V scrollers
Claus Gittinger <cg@exept.de>
parents: 205
diff changeset
    15
	classVariableNames:''
b747ea31b972 use common code for H/V scrollers
Claus Gittinger <cg@exept.de>
parents: 205
diff changeset
    16
	poolDictionaries:''
b747ea31b972 use common code for H/V scrollers
Claus Gittinger <cg@exept.de>
parents: 205
diff changeset
    17
	category:'Views-Interactors'
0
e6a541c1c0eb Initial revision
claus
parents:
diff changeset
    18
!
e6a541c1c0eb Initial revision
claus
parents:
diff changeset
    19
138
claus
parents: 130
diff changeset
    20
!HorizontalScroller class methodsFor:'documentation'!
0
e6a541c1c0eb Initial revision
claus
parents:
diff changeset
    21
138
claus
parents: 130
diff changeset
    22
copyright
claus
parents: 130
diff changeset
    23
"
claus
parents: 130
diff changeset
    24
 COPYRIGHT (c) 1989 by Claus Gittinger
150
claus
parents: 138
diff changeset
    25
	      All Rights Reserved
0
e6a541c1c0eb Initial revision
claus
parents:
diff changeset
    26
138
claus
parents: 130
diff changeset
    27
 This software is furnished under a license and may be used
claus
parents: 130
diff changeset
    28
 only in accordance with the terms of that license and with the
claus
parents: 130
diff changeset
    29
 inclusion of the above copyright notice.   This software may not
claus
parents: 130
diff changeset
    30
 be provided or otherwise made available to, or used by, any
claus
parents: 130
diff changeset
    31
 other person.  No title to or ownership of the software is
claus
parents: 130
diff changeset
    32
 hereby transferred.
claus
parents: 130
diff changeset
    33
"
claus
parents: 130
diff changeset
    34
!
0
e6a541c1c0eb Initial revision
claus
parents:
diff changeset
    35
150
claus
parents: 138
diff changeset
    36
documentation
claus
parents: 138
diff changeset
    37
"
claus
parents: 138
diff changeset
    38
    Actually simply a scroller which preinitializes itself to have
claus
parents: 138
diff changeset
    39
    a horizontal orientation.
585
8f395aba0173 documentation
Claus Gittinger <cg@exept.de>
parents: 556
diff changeset
    40
8f395aba0173 documentation
Claus Gittinger <cg@exept.de>
parents: 556
diff changeset
    41
    [author:]
8f395aba0173 documentation
Claus Gittinger <cg@exept.de>
parents: 556
diff changeset
    42
        Claus Gittinger
150
claus
parents: 138
diff changeset
    43
"
205
6814c0bf8df8 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
    44
! !
6814c0bf8df8 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
    45
6814c0bf8df8 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
    46
!HorizontalScroller methodsFor:'accessing-behavior'!
6814c0bf8df8 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
    47
6814c0bf8df8 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
    48
scrollLeftAction:aBlock
6814c0bf8df8 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
    49
    "ignored -
6814c0bf8df8 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
    50
     but implemented, so that scroller can be used in place of a scrollbar"
150
claus
parents: 138
diff changeset
    51
!
claus
parents: 138
diff changeset
    52
205
6814c0bf8df8 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
    53
scrollRightAction:aBlock
6814c0bf8df8 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
    54
    "ignored -
6814c0bf8df8 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
    55
     but implemented, so that scroller can be used in place of a scrollbar"
138
claus
parents: 130
diff changeset
    56
! !
0
e6a541c1c0eb Initial revision
claus
parents:
diff changeset
    57
e6a541c1c0eb Initial revision
claus
parents:
diff changeset
    58
!HorizontalScroller methodsFor:'initialization'!
e6a541c1c0eb Initial revision
claus
parents:
diff changeset
    59
e6a541c1c0eb Initial revision
claus
parents:
diff changeset
    60
initialize
556
4c3edf42c03e checkin from browser
ca
parents: 538
diff changeset
    61
    orientation := #horizontal. 
0
e6a541c1c0eb Initial revision
claus
parents:
diff changeset
    62
    super initialize.
e6a541c1c0eb Initial revision
claus
parents:
diff changeset
    63
! !
e6a541c1c0eb Initial revision
claus
parents:
diff changeset
    64
205
6814c0bf8df8 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
    65
!HorizontalScroller class methodsFor:'documentation'!
6814c0bf8df8 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
    66
6814c0bf8df8 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
    67
version
585
8f395aba0173 documentation
Claus Gittinger <cg@exept.de>
parents: 556
diff changeset
    68
    ^ '$Header: /cvs/stx/stx/libwidg/Attic/HScroller.st,v 1.15 1996-04-25 17:22:26 cg Exp $'
205
6814c0bf8df8 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
    69
! !