Skip to main content
Jump to: navigation, search

Nebula RangeSlider

Revision as of 11:34, 14 February 2018 by Laurent.caron.gmail.com (Talk | contribs) (Created page with "==Introduction== File:RangeSlider.png The Range Slider is a con­t­rol that lets you input two values, typically an upper and a lower bound. Normal sliders just lets yo...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Introduction

RangeSlider.png

The Range Slider is a con­t­rol that lets you input two values, typically an upper and a lower bound. Normal sliders just lets you input one value.

Usage

Because the look and feel is very close to the Scale widget, I've decided to copy the same methods.

The only difference concerns the "selection" getters and setters, because there are 2 values.

Example

An example called RangeSliderSnippet.java is located in the plugin org.eclipse.nebula.widgets.opal.rangeslider.snippets.

This example is also available here : https://git.eclipse.org/c/nebula/org.eclipse.nebula.git/tree/widgets/opal/rangeslider/org.eclipse.nebula.widgets.opal.rangeslider.snippets/src/org/eclipse/nebula/widgets/opal/rangeslider/snippets/RangeSliderSnippet.java

Back to the top