This class defines a door that can be opened or closed. When closed, the door shows a label; when opened the door shows an image and a label. The object comes supplied with car and goat images, suitable for the Monty Hall experiment. The class has methods for opening and closing the door, and for getting and setting the image, colors, and labels.
The text area below gives the code for this object, so that you can browse the constructors, methods, and properties of the object. Of course, this source file is part of devices.zip, which contains all source and resource files for the objects in the devices package.