This class consists of a slider and a label, and is intended for adjusting the value of a real parameter. The real parameter is characterized by a minimum value, a maximum value, a step size, a current value, a name, and a symbol. The name is intended to be descriptive and is used in the tool tip. The symbol is used in the label. The class has methods for getting and setting the minimum value, the maximum value, the step size, the current value, the name, and the symbol. This object is used in many applets. The image below shows a Parameter object in the parameter toolbar of the dice 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.