HorizontalSteppingSlider.st
author Claus Gittinger <cg@exept.de>
Wed, 28 May 1997 16:00:37 +0200
changeset 400 d176fd820716
parent 267 f534e60f85e3
child 401 7212ff304a88
permissions -rw-r--r--
merged common code from steppingSlider & horizontalSteppingSlider

"
 COPYRIGHT (c) 1994 by Claus Gittinger
	      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.
"

SteppingSlider subclass:#HorizontalSteppingSlider
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'Views-Interactors'
!

!HorizontalSteppingSlider class methodsFor:'documentation'!

copyright
"
 COPYRIGHT (c) 1994 by Claus Gittinger
	      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.
"
!

documentation
"
    HorizontalSteppingSliders are like HorizontalSliders, but add step-up and step-down
    buttons (which increment/decrement the value).
"
!

examples 
"
    |top sl|

    top := StandardSystemView extent:200@200.
    sl := HorizontalSteppingSlider in:top.
    sl origin:(0.0@0.0) corner:(1.0@(sl preferredExtent y)).
    sl scrollAction:[:pos | Transcript showCR:pos].    
    top open
"
! !

!HorizontalSteppingSlider methodsFor:'queries'!

orientation
    ^ #horizontal

    "Created: 28.5.1997 / 15:10:16 / cg"
! !

!HorizontalSteppingSlider class methodsFor:'documentation'!

version
    ^ '$Header: /cvs/stx/stx/libwidg2/HorizontalSteppingSlider.st,v 1.10 1997-05-28 14:00:27 cg Exp $'
! !