Debian Codegraph @

terps/tads/tads3/test/data/contapi.htm

raw symbols SCIP
1 <html>
2 <title>TADS 3 Library Containment API</title>
3
4 <h3>TADS 3 Library Containment API</h3>
5
6 <!---------------------------------------------------------------------->
7 <h4>isIn(obj)</h4>
8
9 <p>Tests to determine if the object is contained within obj. Returns true
10 if so, nil if not. This method doesn't pay any attention to whether
11 containers are open or closed; it simply determines if a containment
12 relationship exists between the two objects. This method also doesn't
13 distinguish among different types of containment, so it returns true
14 if this object is within obj, even if obj is a surface or other type
15 of container.
16
17 <!---------------------------------------------------------------------->
18 <h4>moveInto(obj)</h4>
19
20 <p>Moves the object so that it is contained within obj. Removes the
21 object from its current container or containers by calling
22 removeFromContents(self) for each container. Updates any internal
23 status information recording the object's container. Adds the object
24 to its new container's contents by calling the new container's
25 addToContents(self) method.
26
27 <!---------------------------------------------------------------------->
28 <h4>addToContents(obj)</h4>
29
30 <p>Adds obj to this object's contents. If this object can contain objects
31 in only one fashion, it should add the object to its single type of
32 containment list. If this object can contain objects in different ways,
33 then the method should add the object to the 'in' containment list, or,
34 if it doesn't have an 'in' list, its default list, as defined by the object.
35
36 <!---------------------------------------------------------------------->
37 <h4>removeFromContents(obj)</h4>
38
39 <p>Removes obj from this object's contents. If this object has multiple
40 types of contents, the method should remove the object from the appropriate
41 contents list.
42
43 </html>
44