This class models a simple spinner. The probabilities are proportional to the sizes of the sectors. The class has methods for getting and setting the number of sectors, the probability distribution that governs the spinner, the colors, and the value, and has a method for spinning the spinner to determine a random value. This object is used in the spinner experiment.
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.