eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'HorizontalScale':

Home

everywhere
www.exept.de
for:
[back]

Class: HorizontalScale


Inheritance:

   Object
   |
   +--GraphicsContext
      |
      +--DeviceGraphicsContext
         |
         +--GraphicsMedium
            |
            +--DisplaySurface
               |
               +--SimpleView
                  |
                  +--HorizontalScale

Package:
stx:libwidg2
Category:
Views-Interactors
Version:
rev: ? date: ? ?
user: ?
file: ? directory: libwidg2
module: stx stc-classLibrary: libwidg2

Description:


like a slider, but with a range (i.e. may be different from 0..100)
and displaying the current value.


Instance protocol:

accessing
o  range: anInterval

o  scrollAction: aBlock

drawing
o  redraw


Examples:


|top s1 s2| top := StandardSystemView new. top extent:200@200. s1 := HorizontalScale origin:0.0 @ 0.0 in:top. s1 extent:1.0 @ 50. s2 := HorizontalScale origin:0.0 @ 0.5 in:top. s2 extent:1.0 @ 50. s2 range:(-50 to:50). top open

ST/X 6.1.1; WebServer 1.620 at exept:8081; Mon, 21 May 2012 18:02:07 GMT