Table of Contents
In part seven we are adding a third kind of filtering to the issue list. This filter will allow a user to display the full range of issue priorities or focus in on only the most important issues. The list filtering will be driven by a slider widget.
ThresholdList performs specialized filter functionality.
It provides a view of a source list that is described by a bounded-range. The range
is bounded by two integer values which represent the upper and lower thresholds as
to what values belong to this list. To allow a high level of customization and
ThresholdList uses the
interface to evaluate the elements of the list. This
is parallel in spirit to the
Comparator interface, but
Object giving an absolute integer value
as a result rather than a relative one. The
use of a
ThresholdEvaluator to determine which
Objects fall within the bounded-range.