| AndBase开发框架 1.5.7

- 首页
- 相关页面
- 命名空间
- 类
- 文件

- 类列表
- 类索引
- 类继承关系
- 类成员

全部 类 命名空间 文件 函数 变量 枚举值 页
Public 成员函数 | Protected 成员函数 | 包属性 | Private 属性 | 所有成员列表
com.ab.view.progress.AbHorizontalProgressBar类 参考
类 com.ab.view.progress.AbHorizontalProgressBar 继承关系图:

## Public 成员函数
int | getProgress ()
void | setProgress (int progress)
int | getMax ()
void | setMax (int max)
| AbHorizontalProgressBar (Context context, AttributeSet attrs)
AbOnProgressListener | getAbOnProgressListener ()
void | setAbOnProgressListener (AbOnProgressListener mAbOnProgressListener)
void | reset ()

## Protected 成员函数
void | onDraw (Canvas canvas)

## 包属性
float[] | direction = new float[]{1,1,1}
float | light = 0.4f
float | specular = 6
float | blur = 3.5f

## Private 属性
int | progress = 0
int | max = 100
Paint | pathPaint = null
Paint | fillPaint = null
int | pathWidth = 35
int | width
int | height
int | pathColor = 0xFFF0EEDF
int | pathBorderColor = 0xFFD2D1C4
int[] | fillColors = new int[] {0xFF3DF346,0xFF02C016}
EmbossMaskFilter | emboss = null
BlurMaskFilter | mBlur = null
AbOnProgressListener | mAbOnProgressListener = null
boolean | reset = false

## 构造及析构函数说明

com.ab.view.progress.AbHorizontalProgressBar.AbHorizontalProgressBar | ( | Context | context,
|  | AttributeSet | attrs
| ) |  |
| inline

## 成员函数说明

AbOnProgressListener com.ab.view.progress.AbHorizontalProgressBar.getAbOnProgressListener | ( | ) |  |
| inline

int com.ab.view.progress.AbHorizontalProgressBar.getMax | ( | ) |  |
| inline

int com.ab.view.progress.AbHorizontalProgressBar.getProgress | ( | ) |  |
| inline

void com.ab.view.progress.AbHorizontalProgressBar.onDraw | ( | Canvas | canvas) |  |
| inline protected

void com.ab.view.progress.AbHorizontalProgressBar.reset | ( | ) |  |
| inline

描述：重置进度

异常

void com.ab.view.progress.AbHorizontalProgressBar.setAbOnProgressListener | ( | AbOnProgressListener | mAbOnProgressListener) |  |
| inline

void com.ab.view.progress.AbHorizontalProgressBar.setMax | ( | int | max) |  |
| inline

void com.ab.view.progress.AbHorizontalProgressBar.setProgress | ( | int | progress) |  |
| inline

## 类成员变量说明

float com.ab.view.progress.AbHorizontalProgressBar.blur = 3.5f
| package

float [] com.ab.view.progress.AbHorizontalProgressBar.direction = new float[]{1,1,1}
| package

EmbossMaskFilter com.ab.view.progress.AbHorizontalProgressBar.emboss = null
| private

int [] com.ab.view.progress.AbHorizontalProgressBar.fillColors = new int[] {0xFF3DF346,0xFF02C016}
| private

Paint com.ab.view.progress.AbHorizontalProgressBar.fillPaint = null
| private

int com.ab.view.progress.AbHorizontalProgressBar.height
| private

The height.

float com.ab.view.progress.AbHorizontalProgressBar.light = 0.4f
| package

AbOnProgressListener com.ab.view.progress.AbHorizontalProgressBar.mAbOnProgressListener = null
| private

int com.ab.view.progress.AbHorizontalProgressBar.max = 100
| private

BlurMaskFilter com.ab.view.progress.AbHorizontalProgressBar.mBlur = null
| private

int com.ab.view.progress.AbHorizontalProgressBar.pathBorderColor = 0xFFD2D1C4
| private

int com.ab.view.progress.AbHorizontalProgressBar.pathColor = 0xFFF0EEDF
| private

Paint com.ab.view.progress.AbHorizontalProgressBar.pathPaint = null
| private

int com.ab.view.progress.AbHorizontalProgressBar.pathWidth = 35
| private

int com.ab.view.progress.AbHorizontalProgressBar.progress = 0
| private

boolean com.ab.view.progress.AbHorizontalProgressBar.reset = false
| private

float com.ab.view.progress.AbHorizontalProgressBar.specular = 6
| package

int com.ab.view.progress.AbHorizontalProgressBar.width
| private

The width.

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

- src/com/ab/view/progress/AbHorizontalProgressBar.java