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

interface  AbFragmentOnLoadListener
 

Public 成员函数

void onCreate (Bundle savedInstanceState)
 
View onCreateView (LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
 
View onCreateContentView (LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
 
void setResource ()
 
void initLoadView ()
 
void initRefreshView ()
 
void showLoadView ()
 
void showRefreshView ()
 
void showContentView ()
 
void loadFinish ()
 
void loadStop (final View view)
 
void load (View v)
 
View getContentView ()
 
int getTextSize ()
 
void setTextSize (int textSize)
 
int getTextColor ()
 
void setTextColor (int textColor)
 
void setLoadMessage (String message)
 
void setRefreshMessage (String message)
 
int getLoadDrawable ()
 
void setLoadDrawable (int resid)
 
int getRefreshDrawable ()
 
void setRefreshDrawable (int resid)
 
int getBackgroundColor ()
 
void setBackgroundColor (int backgroundColor)
 
AbFragmentOnLoadListener getAbFragmentOnLoadListener ()
 
void setAbFragmentOnLoadListener (AbFragmentOnLoadListener abFragmentOnLoadListener)
 

Public 属性

String mLoadMessage = "正在查询,请稍候"
 
String mRefreshMessage = "请求出错,请重试"
 

Private 属性

int mLoadDrawable
 
int mRefreshDrawable
 
int mTextSize = 15
 
int mTextColor = Color.WHITE
 
RelativeLayout rootView = null
 
View mContentView
 
LinearLayout mLoadView = null
 
LinearLayout mRefreshView = null
 
TextView mLoadTextView = null
 
ImageView mLoadImageView = null
 
TextView mRefreshTextView = null
 
ImageView mRefreshImageView = null
 
View mIndeterminateView = null
 
int mBackgroundColor = Color.parseColor("#88838B8B")
 
AbFragmentOnLoadListener mAbFragmentOnLoadListener = null
 

详细描述

© 2012 amsoft.cn 名称:AbLoadDialogFragment.java 描述:弹出加载框

作者
还如一梦中
版本
v1.0
日期
:2014-07-30 下午16:00:52

成员函数说明

AbFragmentOnLoadListener com.ab.fragment.AbFragment.getAbFragmentOnLoadListener ( )
inline
int com.ab.fragment.AbFragment.getBackgroundColor ( )
inline
View com.ab.fragment.AbFragment.getContentView ( )
inline

获取内容View

返回
int com.ab.fragment.AbFragment.getLoadDrawable ( )
inline
int com.ab.fragment.AbFragment.getRefreshDrawable ( )
inline
int com.ab.fragment.AbFragment.getTextColor ( )
inline
int com.ab.fragment.AbFragment.getTextSize ( )
inline

获取加载View文字的尺寸

返回
void com.ab.fragment.AbFragment.initLoadView ( )
inline

初始化加载View

void com.ab.fragment.AbFragment.initRefreshView ( )
inline

初始化刷新View

void com.ab.fragment.AbFragment.load ( View  v)
inline

加载调用

void com.ab.fragment.AbFragment.loadFinish ( )
inline

加载完成调用

void com.ab.fragment.AbFragment.loadStop ( final View  view)
inline

加载结束

void com.ab.fragment.AbFragment.onCreate ( Bundle  savedInstanceState)
inline

创建

View com.ab.fragment.AbFragment.onCreateContentView ( LayoutInflater  inflater,
ViewGroup  container,
Bundle  savedInstanceState 
)
inline

显示View的方法(需要实现)

返回
View com.ab.fragment.AbFragment.onCreateView ( LayoutInflater  inflater,
ViewGroup  container,
Bundle  savedInstanceState 
)
inline
void com.ab.fragment.AbFragment.setAbFragmentOnLoadListener ( AbFragmentOnLoadListener  abFragmentOnLoadListener)
inline
void com.ab.fragment.AbFragment.setBackgroundColor ( int  backgroundColor)
inline
void com.ab.fragment.AbFragment.setLoadDrawable ( int  resid)
inline
void com.ab.fragment.AbFragment.setLoadMessage ( String  message)
inline
void com.ab.fragment.AbFragment.setRefreshDrawable ( int  resid)
inline
void com.ab.fragment.AbFragment.setRefreshMessage ( String  message)
inline
void com.ab.fragment.AbFragment.setResource ( )
inline

设置用到的资源(需要实现)

void com.ab.fragment.AbFragment.setTextColor ( int  textColor)
inline
void com.ab.fragment.AbFragment.setTextSize ( int  textSize)
inline

设置加载View文字的尺寸

返回
void com.ab.fragment.AbFragment.showContentView ( )
inline

显示内容View

void com.ab.fragment.AbFragment.showLoadView ( )
inline

显示加载View

void com.ab.fragment.AbFragment.showRefreshView ( )
inline

显示刷新View

类成员变量说明

AbFragmentOnLoadListener com.ab.fragment.AbFragment.mAbFragmentOnLoadListener = null
private
int com.ab.fragment.AbFragment.mBackgroundColor = Color.parseColor("#88838B8B")
private
View com.ab.fragment.AbFragment.mContentView
private
View com.ab.fragment.AbFragment.mIndeterminateView = null
private
int com.ab.fragment.AbFragment.mLoadDrawable
private
ImageView com.ab.fragment.AbFragment.mLoadImageView = null
private
String com.ab.fragment.AbFragment.mLoadMessage = "正在查询,请稍候"
TextView com.ab.fragment.AbFragment.mLoadTextView = null
private
LinearLayout com.ab.fragment.AbFragment.mLoadView = null
private
int com.ab.fragment.AbFragment.mRefreshDrawable
private
ImageView com.ab.fragment.AbFragment.mRefreshImageView = null
private
String com.ab.fragment.AbFragment.mRefreshMessage = "请求出错,请重试"
TextView com.ab.fragment.AbFragment.mRefreshTextView = null
private
LinearLayout com.ab.fragment.AbFragment.mRefreshView = null
private
int com.ab.fragment.AbFragment.mTextColor = Color.WHITE
private
int com.ab.fragment.AbFragment.mTextSize = 15
private
RelativeLayout com.ab.fragment.AbFragment.rootView = null
private

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