RotaryKnob
Rotatable widget for selecting numeric value within a range
RotaryKnob component emulates its real-world counterpart and is simply used for selecting numeric value within a range. Knob can be rotated by dragging mouse along y-axis, using mouse scroll wheel or pressing up/down keys. Component also supports browser focus events.
Sample code
final RotaryKnob knob = new RotaryKnob(1, 100); knob.setImmediate(true); final Label label = new Label(); knob.addListener(new Property.ValueChangeListener() { public void valueChange(ValueChangeEvent event) { label.setValue("Knob value is " + knob.getValue()); } });
Links
Compatibility
Was this helpful? Need more help?
Leave a comment or a question below. You can also join
the chat on Discord or
ask questions on StackOverflow.
Version
Vaadin 7.0+ API compatible
- Released
- 2013-02-03
- Maturity
- BETA
- License
- Apache License 2.0
Compatibility
- Framework
- Vaadin 7.0+
- Vaadin 6.2+ in 0.3
- Browser
- Internet Explorer
- Internet Explorer
- Internet Explorer
- Firefox
- Opera
- Safari
- Google Chrome
- Internet Explorer
RotaryKnob - Vaadin Add-on Directory
Rotatable widget for selecting numeric value within a rangeRotaryKnob component emulates its real-world counterpart and is simply used for selecting numeric value within a range. Knob can be rotated by dragging mouse along y-axis, using mouse scroll wheel or pressing up/down keys.
Component also supports browser focus events.
Source CodeDiscussion Forum
Online Demo
RotaryKnob version 0.3.v7
0.3 feature compatible preliminary port for Vaadin 7
RotaryKnob version 0.3.2
Vaadin 7.0+ API compatible