Interface RangeSlider.ChangeListener

  • Enclosing class:
    RangeSlider

    public static interface RangeSlider.ChangeListener
    RangeSlider slider value changed listener
    • Method Detail

      • dragged

        void dragged​(RangeSlider w,
                     float old_val,
                     float val,
                     float old_val_pct,
                     float val_pct,
                     com.jogamp.math.Vec3f pos,
                     MouseEvent e)
        Slide dragged by user (including clicked position)
        Parameters:
        w - the RangeSlider widget owning the slider
        old_val - previous absolute value position of the slider
        val - the absolute value position of the slider
        old_val_pct - previous percentage value position of the slider
        val_pct - the percentage value position of the slider
        pos - object position relative to the slider's bar
        e - NEWT original event or null if sourced from non-mouse, e.g. key-event