com.ijchart.xychart.render.paint
Interface IPaintScale

All Known Implementing Classes:
GrayPaintScale, LookupPaintScale

public interface IPaintScale

Title: IJChart

Description: a chart library for the Java(tm) platform.

定义根据某个值获取paint对象的接口.

Copyright: Copyright (c) 2013

Company:

Version:
1.0
Author:
zhang feng min,shanghai china. Contract me by email.

Field Summary
static double DEFAULT_LOWER_BOUND
          缺省的最小边界值.
static double DEFAULT_UPPER_BOUND
          缺省的最大边界值.
 
Method Summary
 double getLowerBound()
          返回最小边界值.
 java.awt.Paint getPaint(double value)
          返回某个值对应的paint对象.
 double getUpperBound()
          返回最大边界值.
 

Field Detail

DEFAULT_LOWER_BOUND

static final double DEFAULT_LOWER_BOUND
缺省的最小边界值.

See Also:
Constant Field Values

DEFAULT_UPPER_BOUND

static final double DEFAULT_UPPER_BOUND
缺省的最大边界值.

See Also:
Constant Field Values
Method Detail

getLowerBound

double getLowerBound()
返回最小边界值.

Returns:
double 最小边界值.

getUpperBound

double getUpperBound()
返回最大边界值.

Returns:
double 最大边界值.

getPaint

java.awt.Paint getPaint(double value)
返回某个值对应的paint对象.

Parameters:
value - double 数字值.
Returns:
Paint paint对象 (不为null).