Open Source JavaFX Now!

JFXtras Core Logo

XNudger

XNudger is simple picker control. The main difference between XNudger and XPicker in nudger mode, is that XPicker is bound to a sequence, while XNudger is bound to a long. The user of XNudger must create a logical relation between the value of the long and the domain the nudger is used for. XNudger was primarily developed for the light skin of XCalendarPicker In time XNudger may be depricated and be replaced by XPicker in nudger mode

Aside from the regular methods of modifying the value, like mouse click and the scroll wheel, XNudger also has a "drag" feature: when the mouse is left/right dragged over the Nudger the value of the Nudger is decreased/increased continuously, and the further away the mouse is dragged, the large the change becomes. This allows the value to change much more faster than clicking or scrolling.

Examples

Standard nudger skin (visually similar to XPicker in Nudger mode):

The "light" skin (as is used by the "light" skin of the XCalendarPicker):

Sample Code

XNudger { value: 100 };  

See JavaFXDoc for details.


<< Back to JFXtras FrontPage
< Back to Controls

2 Attachments 2 Attachments
255 Views