valuedrangemodel.java
来自「用applet实现很多应用小程序」· Java 代码 · 共 42 行
JAVA
42 行
package prefuse.util.ui;
import 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 <a href="http://jheer.org">jeffrey heer</a>
* @see javax.swing.BoundedRangeModel
*/
public interface ValuedRangeModel extends BoundedRangeModel {
/**
* Get the minimum value backing the range model. This is
* the absolute minimum value possible for the range span.
* @return the minimum value
*/
public Object getMinValue();
/**
* Get the maximum value backing the range model. This is
* the absolute maximum value possible for the range span.
* @return the maximum value
*/
public Object getMaxValue();
/**
* Get the value at the low point of the range span.
* @return the lowest value of the current range
*/
public Object getLowValue();
/**
* Get the value at the high point of the range span.
* @return the highest value of the current range
*/
public Object getHighValue();
} // end of interface ValuedRangeModel
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?