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

Public 成员函数

 PieSegment (int dataIndex, float value, float startAngle, float angle)
 
boolean isInSegment (double angle)
 
String toString ()
 

Protected 成员函数

float getStartAngle ()
 
float getEndAngle ()
 
int getDataIndex ()
 
float getValue ()
 

Private 属性

float mStartAngle
 
float mEndAngle
 
int mDataIndex
 
float mValue
 

详细描述

Holds An PieChart Segment.

构造及析构函数说明

com.ab.view.chart.PieSegment.PieSegment ( int  dataIndex,
float  value,
float  startAngle,
float  angle 
)
inline

Instantiates a new pie segment.

参数
dataIndexthe data index
valuethe value
startAnglethe start angle
anglethe angle

成员函数说明

int com.ab.view.chart.PieSegment.getDataIndex ( )
inlineprotected

Gets the data index.

返回
the data index
float com.ab.view.chart.PieSegment.getEndAngle ( )
inlineprotected

Gets the end angle.

返回
the end angle
float com.ab.view.chart.PieSegment.getStartAngle ( )
inlineprotected

Gets the start angle.

返回
the start angle
float com.ab.view.chart.PieSegment.getValue ( )
inlineprotected

Gets the value.

返回
the value
boolean com.ab.view.chart.PieSegment.isInSegment ( double  angle)
inline

Checks if angle falls in segment.

参数
anglethe angle
返回
true if in segment, false otherwise.
String com.ab.view.chart.PieSegment.toString ( )
inline

描述:TODO.

版本
v1.0
返回
the string
参见
java.lang.Object::toString()
作者
: amsoft.cn
日期
:2013-6-17 上午9:04:50

类成员变量说明

int com.ab.view.chart.PieSegment.mDataIndex
private

The m data index.

float com.ab.view.chart.PieSegment.mEndAngle
private

The m end angle.

float com.ab.view.chart.PieSegment.mStartAngle
private

The m start angle.

float com.ab.view.chart.PieSegment.mValue
private

The m value.


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