JavaFX 2.2 configuring Slider ticks manually
问题 We can create pre-created Minor and Major Ticks by modifying the Minor and MajorTicks of the Slider in JavaFX. But I want to enable the user only to select pre-configured values by me like 2, 4, 8, 16, 32 . We have snapToTicks to solve one problem, but How do I enable only specific tick marks or disable the others? I could probably filter only the wanted values out from valueProperty but is there either a smarter solution or a way to do it natively? Due to a bug in JavaFX 2.2 it is not