| AndBase开发框架 1.6

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

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

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

## Public 成员函数
| AbFocusView (Context context)
| AbFocusView (Context context, AttributeSet attrs)
| AbFocusView (Context context, AttributeSet attrs, int defStyle)
void | onFocusChange (View v, boolean hasFocus)
Drawable | getSelectorDrawable ()
void | setSelectorDrawable (Drawable selectorDrawable)
int | getSelectorResourse ()
void | setSelectorResourse (int selectorResourse)

## Private 属性
Drawable | selectorDrawable
int | selectorResourse

## 详细描述

© 2012 amsoft.cn 名称：AbFocusView.java 描述：控制焦点

作者
  还如一梦中

版本
  v1.0

日期
  ：2013-8-23 下午2:03:29

## 构造及析构函数说明

com.ab.view.app.AbFocusView.AbFocusView | ( | Context | context | ) |
| inline

Instantiates a new ab focus view.

参数

  context | the context

com.ab.view.app.AbFocusView.AbFocusView | ( | Context | context,
|  | AttributeSet | attrs
| ) |  |
| inline

Instantiates a new ab focus view.

参数

  context | the context
  attrs | the attrs

com.ab.view.app.AbFocusView.AbFocusView | ( | Context | context,
|  | AttributeSet | attrs,
|  | int | defStyle
| ) |  |
| inline

Instantiates a new ab focus view.

参数

  context | the context
  attrs | the attrs
  defStyle | the def style

## 成员函数说明

Drawable com.ab.view.app.AbFocusView.getSelectorDrawable | ( |  | ) |
| inline

Gets the selector drawable.

返回
  the selector drawable

int com.ab.view.app.AbFocusView.getSelectorResourse | ( |  | ) |
| inline

Gets the selector resourse.

返回
  the selector resourse

void com.ab.view.app.AbFocusView.onFocusChange | ( | View | v,
|  | boolean | hasFocus
| ) |  |
| inline

void com.ab.view.app.AbFocusView.setSelectorDrawable | ( | Drawable | selectorDrawable | ) |
| inline

Sets the selector drawable.

参数

  selectorDrawable | the new selector drawable

void com.ab.view.app.AbFocusView.setSelectorResourse | ( | int | selectorResourse | ) |
| inline

Sets the selector resourse.

参数

  selectorResourse | the new selector resourse

## 类成员变量说明

Drawable com.ab.view.app.AbFocusView.selectorDrawable
| private

The selector drawable.

int com.ab.view.app.AbFocusView.selectorResourse
| private

The selector resourse.

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

- src/com/ab/view/app/AbFocusView.java