摘要 |
<p>An objet oriented programming environment is disclosed. The environment includes a plurality of classes and objects. Each object communicates with other objects in the environment by sending messages which invoke methods in these other objects. The environment contains at least one target object which contains one or more universal methods used for communicating with another object. These universal methods are typically included in all of the target objects in the environment, along with associated universal instance variables used by the universal methods, thereby forming a universal protocol or interface to target objects. Behavior objects, objects that implement the behavior of other objects, obtain and modify properties of the target object by directly invoking the universal methods residing in the target object. Communication between the behavior object and the target object is accomplished through the universal protocol (method and instance variables).</p> |