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

Public 成员函数

 AbTableArrayAdapter (Context context, AbTable table)
 
void setTable (AbTable table)
 
int getCount ()
 
long getItemId (int position)
 
AbTableItemView getItem (int position)
 
View getView (int position, View convertView, ViewGroup parent)
 
void addItem (String[] row)
 

Private 属性

Context context
 
ArrayList< View > tableView
 
String[] titles
 
List< String[]> contents
 
int columns
 
int[] cellWidth
 
int[] cellTypes
 
int[] tableResource
 
int[] rowHeight
 
int[] rowTextSize
 
int[] rowTextColor
 
AbTable table
 

详细描述

© 2012 amsoft.cn 名称:AbTableArrayAdapter.java 描述:Table控件适配器.

作者
还如一梦中
版本
v1.0
日期
:2013-01-18 下午11:52:13

构造及析构函数说明

com.ab.view.table.AbTableArrayAdapter.AbTableArrayAdapter ( Context  context,
AbTable  table 
)
inline

Table控件适配器.

参数
contextthe context
tableTable对象

成员函数说明

void com.ab.view.table.AbTableArrayAdapter.addItem ( String[]  row)
inline

增加一行.

参数
row行的数据
int com.ab.view.table.AbTableArrayAdapter.getCount ( )
inline

描述:获取数量.

返回
the count
参见
android.widget.Adapter::getCount()
AbTableItemView com.ab.view.table.AbTableArrayAdapter.getItem ( int  position)
inline

描述:获取索引位置的View.

参数
positionthe position
返回
the item
参见
android.widget.Adapter::getItem(int)
long com.ab.view.table.AbTableArrayAdapter.getItemId ( int  position)
inline

描述:获取位置.

参数
positionthe position
返回
the item id
参见
android.widget.Adapter::getItemId(int)
View com.ab.view.table.AbTableArrayAdapter.getView ( int  position,
View  convertView,
ViewGroup  parent 
)
inline

描述:绘制View.

参数
positionthe position
convertViewthe convert view
parentthe parent
返回
the view
参见
android.widget.Adapter::getView(int, android.view.View, android.view.ViewGroup)
void com.ab.view.table.AbTableArrayAdapter.setTable ( AbTable  table)
inline

描述:更新Table内容.

参数
tablethe new table

类成员变量说明

int [] com.ab.view.table.AbTableArrayAdapter.cellTypes
private

The cell types.

int [] com.ab.view.table.AbTableArrayAdapter.cellWidth
private

The cell width.

int com.ab.view.table.AbTableArrayAdapter.columns
private

The columns.

List<String[]> com.ab.view.table.AbTableArrayAdapter.contents
private

The contents.

Context com.ab.view.table.AbTableArrayAdapter.context
private

The context.

int [] com.ab.view.table.AbTableArrayAdapter.rowHeight
private

The row height.

int [] com.ab.view.table.AbTableArrayAdapter.rowTextColor
private

The row text color.

int [] com.ab.view.table.AbTableArrayAdapter.rowTextSize
private

The row text size.

AbTable com.ab.view.table.AbTableArrayAdapter.table
private

The table.

int [] com.ab.view.table.AbTableArrayAdapter.tableResource
private

The table resource.

ArrayList<View> com.ab.view.table.AbTableArrayAdapter.tableView
private

The table view.

String [] com.ab.view.table.AbTableArrayAdapter.titles
private

标题内容数组.


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