--- a/Layout.st Sat Apr 27 16:19:26 1996 +0200
+++ b/Layout.st Sat Apr 27 19:51:19 1996 +0200
@@ -44,43 +44,64 @@
be implemented (if the existing ones are not sufficient, add you own subclass
and install it as layout-object in your view).
- See more info & examples in concrete subclasses:
- LayoutOrigin LayoutFrame AlignmentOrigin
-
- Notice: this class was implemented using protocol information
- from alpha testers - it may not be complete or compatible to
- the corresponding ST-80 class. If you encounter any incompatibilities,
- please forward a note to the ST/X team.
+ Notice:
+ this class was implemented using protocol information
+ from alpha testers - it may not be complete or compatible to
+ the corresponding ST-80 class.
+ If you encounter any incompatibilities, please forward a note
+ describing the incompatibility verbal (i.e. no code) to the ST/X team.
[author:]
Claus Gittinger
+
+ [see also:]
+ View
+ LayoutOrigin LayoutFrame AlignmentOrigin
"
! !
!Layout class methodsFor:'instance creation'!
new
+ "return a new initialized instance"
+
^ self basicNew initialize
+
+ "Modified: 27.4.1996 / 14:47:08 / cg"
! !
!Layout methodsFor:'initialization'!
initialize
+ "setup the instance - to be redefined by concrete subclasses"
+
^ self subclassResponsibility
+
+ "Modified: 27.4.1996 / 14:46:56 / cg"
! !
!Layout methodsFor:'queries'!
isLayout
+ "return true, if the recevier is a layout object.
+ Always return true here."
^ true
+
+ "Modified: 27.4.1996 / 14:45:27 / cg"
!
rectangleRelativeTo:superRectangle preferred:prefRect
+ "compute the rectangle represented by the receiver,
+ given the superViews rectangle and the views preferredExtent.
+ Must be implemented by concrete subclasses."
+
^ self subclassResponsibility
+
+ "Modified: 27.4.1996 / 14:46:37 / cg"
! !
!Layout class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libview2/Layout.st,v 1.10 1996-04-25 16:20:30 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libview2/Layout.st,v 1.11 1996-04-27 17:50:49 cg Exp $'
! !