prefuse.util.ui
Interface ValuedRangeModel

All Superinterfaces:
javax.swing.BoundedRangeModel
All Known Implementing Classes:
NumberRangeModel, ObjectRangeModel

public interface ValuedRangeModel
extends javax.swing.BoundedRangeModel

BoundedRangeModel that additionally supports a mapping between the integer range used by interface components and a richer range of values, such as numbers or arbitrary objects.

Author:
jeffrey heer
See Also:
BoundedRangeModel

Method Summary
 java.lang.Object getHighValue()
          Get the value at the high point of the range span.
 java.lang.Object getLowValue()
          Get the value at the low point of the range span.
 java.lang.Object getMaxValue()
          Get the maximum value backing the range model.
 java.lang.Object getMinValue()
          Get the minimum value backing the range model.
 
Methods inherited from interface javax.swing.BoundedRangeModel
addChangeListener, getExtent, getMaximum, getMinimum, getValue, getValueIsAdjusting, removeChangeListener, setExtent, setMaximum, setMinimum, setRangeProperties, setValue, setValueIsAdjusting
 

Method Detail

getMinValue

java.lang.Object getMinValue()
Get the minimum value backing the range model. This is the absolute minimum value possible for the range span.

Returns:
the minimum value

getMaxValue

java.lang.Object getMaxValue()
Get the maximum value backing the range model. This is the absolute maximum value possible for the range span.

Returns:
the maximum value

getLowValue

java.lang.Object getLowValue()
Get the value at the low point of the range span.

Returns:
the lowest value of the current range

getHighValue

java.lang.Object getHighValue()
Get the value at the high point of the range span.

Returns:
the highest value of the current range


Copyright © 2007 Regents of the University of California