AndBase开发框架  1.6
 全部  命名空间 文件 函数 变量 枚举值 
Public 成员函数 | Protected 成员函数 | Protected 属性 | 所有成员列表
com.ab.view.chart.AbstractTool类 参考abstract
类 com.ab.view.chart.AbstractTool 继承关系图:
com.ab.view.chart.FitZoom com.ab.view.chart.Pan com.ab.view.chart.Zoom

Public 成员函数

 AbstractTool (AbstractChart chart)
 
double[] getRange (int scale)
 
void checkRange (double[] range, int scale)
 

Protected 成员函数

void setXRange (double min, double max, int scale)
 
void setYRange (double min, double max, int scale)
 

Protected 属性

AbstractChart mChart
 
XYMultipleSeriesRenderer mRenderer
 

详细描述

Abstract class for being extended by graphical view tools.

构造及析构函数说明

com.ab.view.chart.AbstractTool.AbstractTool ( AbstractChart  chart)
inline

Abstract tool constructor.

参数
chartthe chart

成员函数说明

void com.ab.view.chart.AbstractTool.checkRange ( double[]  range,
int  scale 
)
inline

Sets the range to the calculated one, if not already set.

参数
rangethe range
scalethe scale
double [] com.ab.view.chart.AbstractTool.getRange ( int  scale)
inline

Returns the current chart range.

参数
scalethe scale
返回
the chart range
void com.ab.view.chart.AbstractTool.setXRange ( double  min,
double  max,
int  scale 
)
inlineprotected

Sets a new range on the X axis.

参数
minthe minimum value
maxthe maximum value
scalethe scale
void com.ab.view.chart.AbstractTool.setYRange ( double  min,
double  max,
int  scale 
)
inlineprotected

Sets a new range on the Y axis.

参数
minthe minimum value
maxthe maximum value
scalethe scale

类成员变量说明

AbstractChart com.ab.view.chart.AbstractTool.mChart
protected

The chart.

XYMultipleSeriesRenderer com.ab.view.chart.AbstractTool.mRenderer
protected

The renderer.


该类的文档由以下文件生成: