ScrollableView.st
changeset 3568 976b80ebcda7
parent 3509 60cbaff88034
child 3590 1380c107d581
--- a/ScrollableView.st	Fri Feb 29 11:15:32 2008 +0100
+++ b/ScrollableView.st	Fri Feb 29 14:19:28 2008 +0100
@@ -87,46 +87,27 @@
     of data (see example2) and at creation time, it is not known what type
     of view is required (multidocument format applications).
 
-    If you want to scroll a bucnh of other views (instead of a views contents),
+    If you want to scroll a bunch of other views (instead of a views contents),
     you need a companion class (ViewScroller). See the documentation there.
 
-    If you need horizontal scrolling too, use an instance of HVScrollableView.
-
     By default, scrollbars are full size scrollbars - for horizontal scrolling
     (which is less often used), scrollableViews can optionally be created with
     miniscrollers which take up less screen space.
 
-    TODO:
-        this is pretty old and needs a rewrite. There are quite some
-        historic leftovers found here and things can be done better
-        (especially in initializeFor...)
-
-        Also, it should be rewritten into one class which supports both
-        Vertical-only, Horizontal-only and HV scrolling.
-        Currently, horizontal-only scrolling is not available.
-        (you have to write your own class ...)
-
-        Finally, some means to hide scrollbars should be added - this would
-        give more screenspace to the view when all is visible 
-        (and therefore, the scrollbars are not needed, anyway)
-
-        Expect the above things to be fixed in an upcoming version.
-
     Recent changes:
         Originally, there where two classes, for vertical-only and
         horizontal+vertical scrollability.
         These have now been merged into the common ScrollableView class,
         and each scrollability can be controlled individually.
-        The original HVScrollableView class is almost empty, but remains
-        for backward compatibility (it simply initializes the scrollability
-        flags for H+V scrollability).
+
 
     [author:]
         Claus Gittinger
 
     [see also:]
-        ScrollBar Scroller
-         HVScrollableView
+        ScrollBar 
+        Scroller
+        ScrolledView
 "
 !
 
@@ -2150,6 +2131,8 @@
 !
 
 isScrollWrapper
+     "answer true if this view wraps a possibly larger view and has scroll bars"
+
      ^ true
 
     "Created: / 20.6.1998 / 14:15:42 / cg"
@@ -2370,5 +2353,5 @@
 !ScrollableView class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg/ScrollableView.st,v 1.144 2007-11-02 10:54:46 fm Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg/ScrollableView.st,v 1.145 2008-02-29 13:19:28 stefan Exp $'
 ! !