This class is a container (actually a panel) that holds balls. It is useful in sampling experiments in which balls are used as metaphors for objects in the population; see the ball and urn experiment for example. The class has methods for getting and setting the number of balls, the common ball and label color, and the set of ball values. The class has methods for getting individual balls, so that the properties can be specified individually. The balls can be shown or hidden, and a sample of balls can be selected.
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.