Feature Request, option to allow Gauge to not be interactive

Create issue
Issue #37 resolved
Patrick Kutch created an issue

While the Gauge allowing you to click on it and set stuff is cool, in my world, I need to be able to click on the knob and do something different, so I always have to comment out the knob.setOnMousePressed() call in GaugeSkin.java so that I can have my own mouse handler.

Would be useful to me, though not dire, if there was an option in the Gauge itself maybe in the constructor to flag for this interactivity or not.

Comments (2)

  1. Gerrit Grunwald repo owner

    Implemented the ability to add a custom EventHandler<MouseEvent> to the Gauge control to "override" the interactive mode. It's in the DemoGauge class.

  2. Log in to comment