![]() | Squeak Class Documentation | category index | class index |
ObjectViewer category: Kernel-Objects superclass: ObjectTracer subclasses: ObjectViewers offers the same kind of interception of messages (via doesnotUnderstand:) as ObjectTracers, but instead of just being wrappers, they actually replace the object being viewed. This makes them a lot more dangerous to use, but one can do amazing things. For instance, the example below actually intercepts the InputSensor object, and prints the mouse coordinates asynchronously, every time they change:
|
||||||||||||||||||||||||||||||||||