Class RangeSliderBehavior


  • public class RangeSliderBehavior
    extends com.sun.javafx.scene.control.behavior.BehaviorBase<RangeSlider>
    • Constructor Detail

      • RangeSliderBehavior

        public RangeSliderBehavior​(RangeSlider slider)
    • Method Detail

      • getInputMap

        public com.sun.javafx.scene.control.inputmap.InputMap<RangeSlider> getInputMap()
        Specified by:
        getInputMap in class com.sun.javafx.scene.control.behavior.BehaviorBase<RangeSlider>
      • trackPress

        public void trackPress​(MouseEvent e,
                               double position)
        Invoked by the RangeSlider Skin implementation whenever a mouse press occurs on the "track" of the slider. This will cause the thumb to be moved by some amount.
        Parameters:
        position - The mouse position on track with 0.0 being beginning of track and 1.0 being the end
      • trackRelease

        public void trackRelease​(MouseEvent e,
                                 double position)
      • lowThumbPressed

        public void lowThumbPressed​(MouseEvent e,
                                    double position)
        Parameters:
        position - The mouse position on track with 0.0 being beginning of track and 1.0 being the end
      • lowThumbDragged

        public void lowThumbDragged​(MouseEvent e,
                                    double position)
        Parameters:
        position - The mouse position on track with 0.0 being beginning of track and 1.0 being the end
      • lowThumbReleased

        public void lowThumbReleased​(MouseEvent e)
        When lowThumb is released lowValueChanging should be set to false.
      • highThumbReleased

        public void highThumbReleased​(MouseEvent e)
      • highThumbPressed

        public void highThumbPressed​(MouseEvent e,
                                     double position)
      • highThumbDragged

        public void highThumbDragged​(MouseEvent e,
                                     double position)
      • moveRange

        public void moveRange​(double position)
      • confirmRange

        public void confirmRange()