364
|
1 |
VisualPart subclass:#CompositePart
|
|
2 |
instanceVariableNames:'components preferredBounds'
|
|
3 |
classVariableNames:''
|
|
4 |
poolDictionaries:''
|
|
5 |
category:'Graphics-Display Objects'
|
|
6 |
!
|
|
7 |
|
|
8 |
!CompositePart class methodsFor:'documentation'!
|
|
9 |
|
|
10 |
documentation
|
|
11 |
"
|
|
12 |
a dummy class - only existing to provide a compatible home
|
|
13 |
for fileIn of ST-80 classes.
|
|
14 |
|
|
15 |
Notice:
|
|
16 |
this class was implemented using protocol information
|
|
17 |
from alpha testers, from reading PD programs and
|
|
18 |
from the Hopkins/Horan book.
|
|
19 |
- it may not be complete or compatible to the corresponding ST-80 class.
|
|
20 |
If you encounter any incompatibilities, please forward a note
|
|
21 |
describing the incompatibility verbal (i.e. no code) to the ST/X team.
|
|
22 |
|
|
23 |
[author:]
|
|
24 |
Claus Gittinger
|
|
25 |
"
|
|
26 |
|
|
27 |
|
|
28 |
|
|
29 |
|
|
30 |
! !
|
|
31 |
|
|
32 |
!CompositePart methodsFor:'accessing'!
|
|
33 |
|
|
34 |
components
|
|
35 |
"return the components"
|
|
36 |
|
|
37 |
^ components
|
|
38 |
|
|
39 |
"Created: 14.2.1997 / 17:57:23 / cg"
|
|
40 |
"Modified: 14.2.1997 / 17:57:32 / cg"
|
|
41 |
! !
|
|
42 |
|
|
43 |
!CompositePart methodsFor:'adding-removing'!
|
|
44 |
|
|
45 |
add:aComponent
|
|
46 |
components add:aComponent
|
|
47 |
|
|
48 |
"Created: 14.2.1997 / 17:57:59 / cg"
|
|
49 |
!
|
|
50 |
|
|
51 |
add:aComponent at:aPoint
|
|
52 |
aComponent origin:aPoint.
|
|
53 |
components add:aComponent
|
|
54 |
|
|
55 |
"Created: 14.2.1997 / 17:58:19 / cg"
|
|
56 |
! !
|
|
57 |
|
|
58 |
!CompositePart class methodsFor:'documentation'!
|
|
59 |
|
|
60 |
version
|
|
61 |
^ '$Header: /cvs/stx/stx/libview2/CompositePart.st,v 1.1 1997-01-14 16:59:34 cg Exp $'
|
|
62 |
! !
|