Class RangeChooserPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class RangeChooserPanel extends JPanel
A panel that allows to choose a range from a special JSlider with two sliders (dual Slider).

Credits go to the infovis project of Jean Daniel Fekete for the dual slider comopenent: http://ivtk.sourceforge.net/.

Version:
$Revision: 1.15 $
Author:
Achim Westermann
See Also:
  • Field Details

    • m_rangeSlider

      protected com.jidesoft.swing.RangeSlider m_rangeSlider
      The range slider to choose a range.
    • m_nf

      protected NumberFormat m_nf
      Used for formatting the numbers displayed in the text fields.
  • Constructor Details

    • RangeChooserPanel

      public RangeChooserPanel(Range range)
      Creates an instance that works on the given range.

      Parameters:
      range - defines the bounds of the current selection and the extension of these that is chooseable.
  • Method Details

    • getRange

      public Range getRange()
      Returns the current selected range.

      Returns:
      the current selected range.