Skip to content

JavaFX custom Node which is working like an invisible Slider

Notifications You must be signed in to change notification settings

goxr3plus/DragAdjustableLabel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DragAdjustableLabel

A custom Node which is working like a Slider.

  • ! When you hold the mouse on it and drag upside the value is increased.
  • ! When you hold the mouse on it and drag down side the value is decreased.

##Image Demostration of XR3Capture

##Example Code

   //initialize
   
    DragAdjustableLabel dragAdjustableLabel = new DragAdjustableLabel(10, 0, 100);
 
   //add it for example to a BorderPane
   
    primaryStage.setScene(new Scene(new BorderPane(dragAdjustableLabel)));