| AndBase开发框架 1.6

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

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

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

## Public 成员函数
| AbListViewFooter (Context context)
| AbListViewFooter (Context context, AttributeSet attrs)
void | setState (int state)
int | getVisiableHeight ()
void | hide ()
void | show ()
void | setTextColor (int color)
void | setTextSize (int size)
void | setBackgroundColor (int color)
ProgressBar | getFooterProgressBar ()
void | setFooterProgressBarDrawable (Drawable indeterminateDrawable)
int | getFooterHeight ()
void | setVisiableHeight (int height)
int | getState ()

## 静态 Public 属性
static final int | STATE_READY = 1
static final int | STATE_LOADING = 2
static final int | STATE_NO = 3
static final int | STATE_EMPTY = 4

## Private 成员函数
void | initView (Context context)

## Private 属性
Context | mContext
int | mState = -1
LinearLayout | footerView
ProgressBar | footerProgressBar
TextView | footerTextView
int | footerHeight

## 详细描述

© 2012 amsoft.cn 名称：AbListViewFooter.java 描述：加载更多Footer View类.

作者
  还如一梦中

版本
  v1.0

日期
  ：2013-01-17 下午11:52:13

## 构造及析构函数说明

com.ab.view.pullview.AbListViewFooter.AbListViewFooter | ( | Context | context | ) |
| inline

Instantiates a new ab list view footer.

参数

  context | the context

com.ab.view.pullview.AbListViewFooter.AbListViewFooter | ( | Context | context,
|  | AttributeSet | attrs
| ) |  |
| inline

Instantiates a new ab list view footer.

参数

  context | the context
  attrs | the attrs

## 成员函数说明

int com.ab.view.pullview.AbListViewFooter.getFooterHeight | ( |  | ) |
| inline

描述：获取高度.

返回
  the footer height

ProgressBar com.ab.view.pullview.AbListViewFooter.getFooterProgressBar | ( |  | ) |
| inline

描述：获取Footer ProgressBar，用于设置自定义样式.

返回
  the footer progress bar

int com.ab.view.pullview.AbListViewFooter.getState | ( |  | ) |
| inline

Gets the state.

返回
  the state

int com.ab.view.pullview.AbListViewFooter.getVisiableHeight | ( |  | ) |
| inline

Gets the visiable height.

返回
  the visiable height

void com.ab.view.pullview.AbListViewFooter.hide | ( |  | ) |
| inline

隐藏footerView.

void com.ab.view.pullview.AbListViewFooter.initView | ( | Context | context | ) |
| inline private

Inits the view.

参数

  context | the context

void com.ab.view.pullview.AbListViewFooter.setBackgroundColor | ( | int | color | ) |
| inline

描述：设置背景颜色.

参数

  color | the new background color

void com.ab.view.pullview.AbListViewFooter.setFooterProgressBarDrawable | ( | Drawable | indeterminateDrawable | ) |
| inline

描述：设置Footer ProgressBar样式.

参数

  indeterminateDrawable | the new footer progress bar drawable

void com.ab.view.pullview.AbListViewFooter.setState | ( | int | state | ) |
| inline

设置当前状态.

参数

  state | the new state

void com.ab.view.pullview.AbListViewFooter.setTextColor | ( | int | color | ) |
| inline

描述：设置字体颜色.

参数

  color | the new text color

void com.ab.view.pullview.AbListViewFooter.setTextSize | ( | int | size | ) |
| inline

描述：设置字体大小.

参数

  size | the new text size

void com.ab.view.pullview.AbListViewFooter.setVisiableHeight | ( | int | height | ) |
| inline

设置高度.

参数

  height | 新的高度

void com.ab.view.pullview.AbListViewFooter.show | ( |  | ) |
| inline

显示footerView.

## 类成员变量说明

int com.ab.view.pullview.AbListViewFooter.footerHeight
| private

The footer content height.

ProgressBar com.ab.view.pullview.AbListViewFooter.footerProgressBar
| private

The footer progress bar.

TextView com.ab.view.pullview.AbListViewFooter.footerTextView
| private

The footer text view.

LinearLayout com.ab.view.pullview.AbListViewFooter.footerView
| private

The footer view.

Context com.ab.view.pullview.AbListViewFooter.mContext
| private

The m context.

int com.ab.view.pullview.AbListViewFooter.mState = -1
| private

The m state.

final int com.ab.view.pullview.AbListViewFooter.STATE_EMPTY = 4
| static

The Constant STATE_EMPTY.

final int com.ab.view.pullview.AbListViewFooter.STATE_LOADING = 2
| static

The Constant STATE_LOADING.

final int com.ab.view.pullview.AbListViewFooter.STATE_NO = 3
| static

The Constant STATE_NO.

final int com.ab.view.pullview.AbListViewFooter.STATE_READY = 1
| static

The Constant STATE_READY.

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

- src/com/ab/view/pullview/AbListViewFooter.java