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

Public 成员函数

 AbTabItemView (Context context)
 
 AbTabItemView (Context context, AttributeSet attrs)
 
void init (int index, String text)
 
int getIndex ()
 
TextView getTextView ()
 
void setTabTextSize (int tabTextSize)
 
void setTabTextColor (int tabColor)
 
void setTabCompoundDrawables (Drawable left, Drawable top, Drawable right, Drawable bottom)
 
void setTabBackgroundResource (int resid)
 
void setTabBackgroundDrawable (Drawable d)
 

Private 属性

Context mContext
 
int mIndex
 
TextView mTextView
 

详细描述

© 2012 amsoft.cn 名称:AbTabItemView.java 描述:表示一个TAB

作者
还如一梦中
版本
v1.0
日期
:2013-05-17 下午6:46:29

构造及析构函数说明

com.ab.view.sliding.AbTabItemView.AbTabItemView ( Context  context)
inline

Instantiates a new ab tab item view.

参数
contextthe context
com.ab.view.sliding.AbTabItemView.AbTabItemView ( Context  context,
AttributeSet  attrs 
)
inline

Instantiates a new ab tab item view.

参数
contextthe context
attrsthe attrs

成员函数说明

int com.ab.view.sliding.AbTabItemView.getIndex ( )
inline

Gets the index.

返回
the index
TextView com.ab.view.sliding.AbTabItemView.getTextView ( )
inline

Gets the text view.

返回
the text view
void com.ab.view.sliding.AbTabItemView.init ( int  index,
String  text 
)
inline

Inits the.

参数
indexthe index
textthe text
void com.ab.view.sliding.AbTabItemView.setTabBackgroundDrawable ( Drawable  d)
inline

描述:设置tab的背景选择.

参数
dthe new tab background drawable
void com.ab.view.sliding.AbTabItemView.setTabBackgroundResource ( int  resid)
inline

描述:设置tab的背景选择.

参数
residthe new tab background resource
void com.ab.view.sliding.AbTabItemView.setTabCompoundDrawables ( Drawable  left,
Drawable  top,
Drawable  right,
Drawable  bottom 
)
inline

描述:设置文字图片.

参数
leftthe left
topthe top
rightthe right
bottomthe bottom
void com.ab.view.sliding.AbTabItemView.setTabTextColor ( int  tabColor)
inline

描述:设置文字颜色.

参数
tabColorthe new tab text color
void com.ab.view.sliding.AbTabItemView.setTabTextSize ( int  tabTextSize)
inline

描述:设置文字大小.

参数
tabTextSizethe new tab text size

类成员变量说明

Context com.ab.view.sliding.AbTabItemView.mContext
private

The m context.

int com.ab.view.sliding.AbTabItemView.mIndex
private

The m index.

TextView com.ab.view.sliding.AbTabItemView.mTextView
private

The m text view.


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