ObjectView.st
changeset 584 e3b11115fc18
parent 531 a2ceb2c8e853
child 588 2d6fc80017df
--- a/ObjectView.st	Thu Apr 25 18:44:20 1996 +0200
+++ b/ObjectView.st	Thu Apr 25 19:16:52 1996 +0200
@@ -44,83 +44,91 @@
     this is an abstract class providing common mechanisms - actual instances are
     DrawView, DirectoryView, LogicView or DocumentView.
 
-    Instance variables:
-
-	contents        <Collection>            the objects. The order in which
-						these are in that collection defines
-						their appearance in the z-plane:
-						an object located after another one
-						here will be drawn ABOVE the other.
-
-	sorted          <Boolean>               if set, redraw and picking methods
-						assume that the objects are sorted by 
-						>= y-coordinates. These operations are
-						a bit faster then, since a binary search
-						can be done. (use with care).
-
-	lastButt        <Point>                 last pointer press position
-						(internal)
-
-	pressAction     <Block>                 action to perform when mouse pointer
-						is pressed. Can be set to something like
-						[self startCreate], [self startSelectOrMove]
-						etc.
-
-	releaseAction   <Block>                 action to perform when mouse pointer is
-						released. Typically set in one of the
-						startXXX methods.
-
-	shiftPressAction        <Block>         like pressAction, if shift key is
-						pressed.
-
-	doublePressAction       <Block>         same for double-clicks
-
-	motionAction            <Block>         action to perform on mouse-pointer
-						motion.
-
-	keyPressAction          <Block>         action for keyboard events
-
-	selection               <any>           the current selection; either a single
-						object or a collection of objects.
-
-	gridShown               <Boolean>       internal
-
-	gridPixmap              <Form>          internal
-
-	scaleMetric             <Symbol>        either #mm or #inch; used to
-						decide how the grid is defined
-
-	dragObject                              internal
-
-	leftHandCursor                          cursor shown while dragging a rectangle
-
-	oldCursor                               saved original cursor while dragging a rectangle
-
-	movedObject                             internal
-	moveStartPoint                          internal
-	moveDelta                               internal
-
-	documentFormat          <Symbol>        defines the size and layout of the
-						document. Can be any of
-						#letter, #a4, #a3 etc.
-
-	canDragOutOfView        <Boolean>       if true, objects can be dragged out of the
-						view. If false, dragging is restricted to within
-						this view.
-
-	rootMotion                              internal
-	rootView                                internal
-
-	aligning                <Boolean>       if true, pointer positions are
-						aligned (snapped) to the point
-						specified in gridAlign
-
-	gridAlign               <Point>         if aligning is true, this point
-						defines the snapping. For example,
-						12@12 defines snap to the nearest
-						12-point grid.
+    [Instance variables:]
+
+        contents        <Collection>            the objects. The order in which
+                                                these are in that collection defines
+                                                their appearance in the z-plane:
+                                                an object located after another one
+                                                here will be drawn ABOVE the other.
+
+        sorted          <Boolean>               if set, redraw and picking methods
+                                                assume that the objects are sorted by 
+                                                >= y-coordinates. These operations are
+                                                a bit faster then, since a binary search
+                                                can be done. (use with care).
+
+        lastButt        <Point>                 last pointer press position
+                                                (internal)
+
+        pressAction     <Block>                 action to perform when mouse pointer
+                                                is pressed. Can be set to something like
+                                                [self startCreate], [self startSelectOrMove]
+                                                etc.
+
+        releaseAction   <Block>                 action to perform when mouse pointer is
+                                                released. Typically set in one of the
+                                                startXXX methods.
+
+        shiftPressAction        <Block>         like pressAction, if shift key is
+                                                pressed.
+
+        doublePressAction       <Block>         same for double-clicks
+
+        motionAction            <Block>         action to perform on mouse-pointer
+                                                motion.
+
+        keyPressAction          <Block>         action for keyboard events
+
+        selection               <any>           the current selection; either a single
+                                                object or a collection of objects.
+
+        gridShown               <Boolean>       internal
+
+        gridPixmap              <Form>          internal
+
+        scaleMetric             <Symbol>        either #mm or #inch; used to
+                                                decide how the grid is defined
+
+        dragObject                              internal
+
+        leftHandCursor                          cursor shown while dragging a rectangle
+
+        oldCursor                               saved original cursor while dragging a rectangle
+
+        movedObject                             internal
+        moveStartPoint                          internal
+        moveDelta                               internal
+
+        documentFormat          <Symbol>        defines the size and layout of the
+                                                document. Can be any of
+                                                #letter, #a4, #a3 etc.
+
+        canDragOutOfView        <Boolean>       if true, objects can be dragged out of the
+                                                view. If false, dragging is restricted to within
+                                                this view.
+
+        rootMotion                              internal
+        rootView                                internal
+
+        aligning                <Boolean>       if true, pointer positions are
+                                                aligned (snapped) to the point
+                                                specified in gridAlign
+
+        gridAlign               <Point>         if aligning is true, this point
+                                                defines the snapping. For example,
+                                                12@12 defines snap to the nearest
+                                                12-point grid.
 
     written spring/summer 89 by claus
+
+    [author:]
+        Claus Gittinger
+
+    [see also:]
+        DrawTool LogicTool
+        DrawObject
+        DisplayObject
 "
 !
 
@@ -2763,5 +2771,5 @@
 !ObjectView class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg/ObjectView.st,v 1.32 1996-04-10 20:25:49 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg/ObjectView.st,v 1.33 1996-04-25 17:16:52 cg Exp $'
 ! !