Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

ESSICS/THUMBWHEEL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

THUMBWHEEL

Maven Central javadoc Apache License

A JavaFX thumb-wheel component reproducing the behavior of a mechanical one, where:

  • Arrow keys will navigate through the INC/DEC buttons;
  • Scroll (mouse wheel or trackpad scroll) when enabled allows to put the cursor over a digit and start scrolling up/down;
  • Increment (on top) and decrement (at the bottom) buttons can be coloured differently (e.g. slightly red for increment and slightly blue for decrement);
  • Font can be set (e.g. digital one);
  • The sign area appears only if minimum is negative. The dash sign when the current value is negative;
  • If the current value cannot be represented (e.g. 3 integer digits, maximum equals to 10000, current value set to 1234), × is displayed with a different color.

Thumbwheel Switch

Thumb Wheel Evaluator

Maven

To add a dependency on THUMBWHEEL using Maven, use the following:

<dependency>
    <groupId>se.europeanspallationsource</groupId>
    <artifactId>javafx.control.thumbwheel</artifactId>
    <version>1.0.5</version>
    <scope>compile</scope>
</dependency>