-
Notifications
You must be signed in to change notification settings - Fork 127
Number selector
intrigus edited this page Aug 23, 2015
·
9 revisions
Number selector (source) allows user to select number between specified values. User can change current number via buttons, mouse wheel and via entering the number by keyboard.
Example usage:
//initial value: 0, min value: 0, max value: 100, step: 1
NumberSelector selector = new NumberSelector("number selector:", 0, 0, 100, 1);
selector.addChangeListener(new NumberSelectorListener() {
@Override
public void changed (int number) {
//do something on change
}
});
See README for VisUI introduction.