Chapter 7. ThresholdList

Table of Contents

ThresholdList
Implementing ThresholdList.Evaluator
A BoundedRangeModel
Other Models
So What?

The issues are assigned one of five priorities: P1 through P5. You can use a JSlider to filter the EventList using ThresholdList.

ThresholdList

ThresholdList requires you to provide an integer for each element in your EventList. Then, it filters all elements whose integers fall outside the provided range. The endpoints of the range can be controlled with a JSlider, JSpinner or even a JComboBox.

To provide the mapping from your list elements to integers, you must implement the simple ThresholdList.Evaluator interface.