com.cosylab.gui.components.wheelswitch package contains building blocks for the wheelswitch component.
Package Specification
com.cosylab.gui.components.wheelswitch package contains building blocks for the wheelswitch component. Wheelswitch uses a row of digits and a two-button up/down switch to format, display and manipulate a double precision floating point number. The wheelswitch itself is only a container for the digits and the up-down button while all data and user manipulation and display formatting is done by the contents of this package.
- Digit is an abstract extension of SimpleButton and handles the selection and display of one numerical digit or string character.
- StaticDigit is the simplest implementation of Digit that is used for holding static character digits that can not be selected or manipulated. StaticDigits are used for displaying signs, exponents and units of the values displayed by the wheelswitch
- ValueDigit can store, display and manipulate a single integer digit.
- UpDownButton is a holder for two vertically aligned ArrowButtons that can be used two switch between two states (up/down) of the component and in term incease/decrease the value of the selected digits inside the wheelswitch.
- UpDownListener listens to the changes of state of UpDownButtons to which it is registered.
- UpDownLayout is an implementation of LayoutManager used for the internal layout of the UpDownButton
- WheelswitchFormatter holds, manipulates and formats the value displayed by the digits inside the wheelswitch.
- WheelswitchLayout is an implementation of LayoutManager used for the internal layout of the Wheelswitch.