The classes in this package contain common equipment interface components, such as buttons, knobs, gauges, sliders, etc. In our AS2 version, we also implemented a keypad, a digital bar, a joystick, and an event recorder/playback mechanism. Please contact us if you need any of those components, and we can discuss adding them to this set.
Class | Description | |
---|---|---|
AlphaNumDigits | This class subsumes the behavior of NumDigits to allow alphanumeric characters. | |
ButtonMomentary | This class implements a momentary push button with an optional repeater. | |
ButtonToggle | This class implements a simple toggle button. | |
Jog | This class implements a simple jog. | |
Lamp | This class implements a multi-state lamp (indicator) with attached graphics. There is a default background supplied, but you can remove it by changing the background class name (bkgndClassName) to null (""). | |
NumDigits | Event generated when numeric value is larger (whole numbers) than what can fit in the display to the left of the decimal point. | |
Potentiometer | This class implements a simple potentiometer, which is virtually identical in functionality to the jog knob (Jog). | |
RoundDial | This class implements a simple round dial gauge. | |
RoundDialSmooth | This class is an extension of RoundDial that provides round dial functionality with a rate-limited needle (based on a user-specified needle rate). | |
SectorDial | This class implements a simple sector dial. | |
SectorDialSmooth | This class is an extension of SectorDial that provides sector dial functionality with a rate-limited needle (based on a user-specified needle rate). | |
SimpleTimer | This class implements a countdown timer. The class has one event, by default called "onElapsed" (but this can be changed in the property inspector, or programmatically via evtElapsed). | |
Slider | This class implements a simple horizontal slider. | |
Stopwatch | This class implements a stopwatch that can be started, paused, and reset. | |
Switch3 | This class implements a simple three position switch. The switch generates four events: onUp, onDown, onMiddle, and onDisabled. The switch has the option of auto-center, meaning it can be made to revert to the middle position after the mouse is let go while the switch is in the up or down position. |