| AndBase开发框架 1.6

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

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

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

## Public 成员函数
| AbIocEventListener (Object handler)
AbIocEventListener | click (String method)
AbIocEventListener | longClick (String method)
AbIocEventListener | itemLongClick (String method)
AbIocEventListener | itemClick (String method)
AbIocEventListener | select (String method)
AbIocEventListener | noSelect (String method)
boolean | onLongClick (View v)
boolean | onItemLongClick (AdapterView<?> arg0, View arg1, int arg2, long arg3)
void | onItemSelected (AdapterView<?> arg0, View arg1, int arg2, long arg3)
void | onNothingSelected (AdapterView<?> arg0)
void | onItemClick (AdapterView<?> arg0, View arg1, int arg2, long arg3)
void | onClick (View v)

## 静态 Public 属性
static final int | CLICK = 0
static final int | LONGCLICK = 1
static final int | ITEMCLICK = 2
static final int | ITEMLONGCLICK = 3

## Private 成员函数
Object | invokeClickMethod (Object handler, String methodName, Object...params)
boolean | invokeLongClickMethod (Object handler, String methodName, Object...params)
Object | invokeItemClickMethod (Object handler, String methodName, Object...params)
boolean | invokeItemLongClickMethod (Object handler, String methodName, Object...params)
Object | invokeItemSelectMethod (Object handler, String methodName, Object...params)
Object | invokeNoSelectMethod (Object handler, String methodName, Object...params)

## Private 属性
Object | handler
String | clickMethod
String | longClickMethod
String | itemClickMethod
String | itemSelectMethod
String | nothingSelectedMethod
String | itemLongClickMehtod

## 详细描述

The listener interface for receiving abIocEvent events. The class that is interested in processing a abIocEvent event implements this interface, and the object created with that class is registered with a component using the component's `addAbIocEventListener`method. When the abIocEvent event occurs, that object's appropriate method is invoked.``

````

参见
  AbIocEventEvent

## 构造及析构函数说明

com.ab.view.ioc.AbIocEventListener.AbIocEventListener | ( | Object | handler | ) |
| inline

Instantiates a new ab ioc event listener.

参数

  handler | the handler

## 成员函数说明

AbIocEventListener com.ab.view.ioc.AbIocEventListener.click | ( | String | method | ) |
| inline

Click.

参数

  method | the method

返回
  the ab ioc event listener

Object com.ab.view.ioc.AbIocEventListener.invokeClickMethod | ( | Object | handler,
|  | String | methodName,
|  | Object... | params
| ) |  |
| inline private

Invoke click method.

参数

  handler | the handler
  methodName | the method name
  params | the params

返回
  the object

Object com.ab.view.ioc.AbIocEventListener.invokeItemClickMethod | ( | Object | handler,
|  | String | methodName,
|  | Object... | params
| ) |  |
| inline private

Invoke item click method.

参数

  handler | the handler
  methodName | the method name
  params | the params

返回
  the object

onItemClick(AdapterView<?> arg0, View arg1, int arg2, long arg3)

boolean com.ab.view.ioc.AbIocEventListener.invokeItemLongClickMethod | ( | Object | handler,
|  | String | methodName,
|  | Object... | params
| ) |  |
| inline private

Invoke item long click method.

参数

  handler | the handler
  methodName | the method name
  params | the params

返回
  true, if successful

onItemLongClick(AdapterView<?> arg0, View arg1, int arg2,long arg3)

Object com.ab.view.ioc.AbIocEventListener.invokeItemSelectMethod | ( | Object | handler,
|  | String | methodName,
|  | Object... | params
| ) |  |
| inline private

Invoke item select method.

参数

  handler | the handler
  methodName | the method name
  params | the params

返回
  the object

onItemSelected(AdapterView<?> arg0, View arg1, int arg2,long arg3)

boolean com.ab.view.ioc.AbIocEventListener.invokeLongClickMethod | ( | Object | handler,
|  | String | methodName,
|  | Object... | params
| ) |  |
| inline private

Invoke long click method.

参数

  handler | the handler
  methodName | the method name
  params | the params

返回
  true, if successful

Object com.ab.view.ioc.AbIocEventListener.invokeNoSelectMethod | ( | Object | handler,
|  | String | methodName,
|  | Object... | params
| ) |  |
| inline private

Invoke no select method.

参数

  handler | the handler
  methodName | the method name
  params | the params

返回
  the object

AbIocEventListener com.ab.view.ioc.AbIocEventListener.itemClick | ( | String | method | ) |
| inline

Item click.

参数

  method | the method

返回
  the ab ioc event listener

AbIocEventListener com.ab.view.ioc.AbIocEventListener.itemLongClick | ( | String | method | ) |
| inline

Item long click.

参数

  method | the method

返回
  the ab ioc event listener

AbIocEventListener com.ab.view.ioc.AbIocEventListener.longClick | ( | String | method | ) |
| inline

Long click.

参数

  method | the method

返回
  the ab ioc event listener

AbIocEventListener com.ab.view.ioc.AbIocEventListener.noSelect | ( | String | method | ) |
| inline

No select.

参数

  method | the method

返回
  the ab ioc event listener

void com.ab.view.ioc.AbIocEventListener.onClick | ( | View | v | ) |
| inline

void com.ab.view.ioc.AbIocEventListener.onItemClick | ( | AdapterView<?> | arg0,
|  | View | arg1,
|  | int | arg2,
|  | long | arg3
| ) |  |
| inline

boolean com.ab.view.ioc.AbIocEventListener.onItemLongClick | ( | AdapterView<?> | arg0,
|  | View | arg1,
|  | int | arg2,
|  | long | arg3
| ) |  |
| inline

void com.ab.view.ioc.AbIocEventListener.onItemSelected | ( | AdapterView<?> | arg0,
|  | View | arg1,
|  | int | arg2,
|  | long | arg3
| ) |  |
| inline

boolean com.ab.view.ioc.AbIocEventListener.onLongClick | ( | View | v | ) |
| inline

void com.ab.view.ioc.AbIocEventListener.onNothingSelected | ( | AdapterView<?> | arg0 | ) |
| inline

AbIocEventListener com.ab.view.ioc.AbIocEventListener.select | ( | String | method | ) |
| inline

Select.

参数

  method | the method

返回
  the ab ioc event listener

## 类成员变量说明

final int com.ab.view.ioc.AbIocEventListener.CLICK = 0
| static

The Constant CLICK.

String com.ab.view.ioc.AbIocEventListener.clickMethod
| private

The click method.

Object com.ab.view.ioc.AbIocEventListener.handler
| private

The handler.

final int com.ab.view.ioc.AbIocEventListener.ITEMCLICK = 2
| static

The Constant ITEMCLICK.

String com.ab.view.ioc.AbIocEventListener.itemClickMethod
| private

The item click method.

final int com.ab.view.ioc.AbIocEventListener.ITEMLONGCLICK = 3
| static

The Constant ITEMLONGCLICK.

String com.ab.view.ioc.AbIocEventListener.itemLongClickMehtod
| private

The item long click mehtod.

String com.ab.view.ioc.AbIocEventListener.itemSelectMethod
| private

The item select method.

final int com.ab.view.ioc.AbIocEventListener.LONGCLICK = 1
| static

The Constant LONGCLICK.

String com.ab.view.ioc.AbIocEventListener.longClickMethod
| private

The long click method.

String com.ab.view.ioc.AbIocEventListener.nothingSelectedMethod
| private

The nothing selected method.

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

- src/com/ab/view/ioc/AbIocEventListener.java