Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Nebula RangeSlider"

(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...")
 
m (Example)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
[[Nebula|< Back to Nebula Main Page]]
 +
 
==Introduction==
 
==Introduction==
  
Line 4: Line 6:
  
 
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.
 
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.
 +
 +
__TOC__
  
 
==Usage==
 
==Usage==
Line 15: Line 19:
 
An example called '''RangeSliderSnippet.java''' is located in the plugin org.eclipse.nebula.widgets.opal.rangeslider.snippets.
 
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
+
This example is also available here : [https://github.com/eclipse/nebula/blob/master/widgets/opal/rangeslider/org.eclipse.nebula.widgets.opal.rangeslider.snippets/src/org/eclipse/nebula/widgets/opal/rangeslider/snippets/RangeSliderSnippet.java RangeSliderSnippet.java]

Latest revision as of 07:05, 19 March 2020

< Back to Nebula Main Page

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 : RangeSliderSnippet.java

Back to the top