| AndBase开发框架 1.6

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

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

全部 类 命名空间 文件 函数 变量 枚举值 页
静态 Public 成员函数 | 静态 Private 属性 | 所有成员列表
com.ab.util.AbDialogUtil类 参考

## 静态 Public 成员函数
static AbSampleDialogFragment | showTips (View view)
static AbSampleDialogFragment | showFullScreenDialog (View view)
static AbSampleDialogFragment | showDialog (View view)
static AbSampleDialogFragment | showDialog (View view, int gravity)
static AbSampleDialogFragment | showDialog (View view, int animEnter, int animExit, int animPopEnter, int animPopExit)
static AbSampleDialogFragment | showDialog (View view, int animEnter, int animExit, int animPopEnter, int animPopExit, int gravity)
static AbSampleDialogFragment | showDialog (View view, DialogInterface.OnCancelListener onCancelListener)
static AbSampleDialogFragment | showDialog (View view, int gravity, DialogInterface.OnCancelListener onCancelListener)
static AbSampleDialogFragment | showDialog (View view, int animEnter, int animExit, int animPopEnter, int animPopExit, DialogInterface.OnCancelListener onCancelListener)
static AbSampleDialogFragment | showDialog (View view, int animEnter, int animExit, int animPopEnter, int animPopExit, int gravity, DialogInterface.OnCancelListener onCancelListener)
static AbSampleDialogFragment | showPanel (View view)
static AbSampleDialogFragment | showPanel (View view, int gravity)
static AbSampleDialogFragment | showPanel (View view, DialogInterface.OnCancelListener onCancelListener)
static AbSampleDialogFragment | showPanel (View view, int gravity, DialogInterface.OnCancelListener onCancelListener)
static AbAlertDialogFragment | showAlertDialog (Context context, int icon, String title, String message)
static AbAlertDialogFragment | showAlertDialog (Context context, int icon, String title, String message, AbDialogOnClickListener onClickListener)
static AbAlertDialogFragment | showAlertDialog (Context context, String title, String message, AbDialogOnClickListener onClickListener)
static AbAlertDialogFragment | showAlertDialog (View view)
static AbAlertDialogFragment | showAlertDialog (Context context, String message)
static AbAlertDialogFragment | showAlertDialog (int icon, String title, View view)
static AbAlertDialogFragment | showAlertDialog (int icon, String title, View view, AbDialogOnClickListener onClickListener)
static AbAlertDialogFragment | showAlertDialog (String title, View view)
static AbAlertDialogFragment | showAlertDialog (String title, View view, AbDialogOnClickListener onClickListener)
static AbAlertDialogFragment | showAlertDialog (Context context, String title, String message)
static AbProgressDialogFragment | showProgressDialog (Context context, int indeterminateDrawable, String message)
static AbLoadDialogFragment | showLoadDialog (Context context, int indeterminateDrawable, String message)
static AbLoadDialogFragment | showLoadDialog (Context context, int indeterminateDrawable, String message, AbDialogOnLoadListener abDialogOnLoadListener)
static AbLoadDialogFragment | showLoadPanel (Context context, int indeterminateDrawable, String message)
static AbLoadDialogFragment | showLoadPanel (Context context, int indeterminateDrawable, String message, AbDialogOnLoadListener abDialogOnLoadListener)
static AbRefreshDialogFragment | showRefreshDialog (Context context, int indeterminateDrawable, String message)
static AbRefreshDialogFragment | showRefreshDialog (Context context, int indeterminateDrawable, String message, AbDialogOnLoadListener abDialogOnLoadListener)
static AbRefreshDialogFragment | showRefreshPanel (Context context, int indeterminateDrawable, String message)
static AbRefreshDialogFragment | showRefreshPanel (Context context, int indeterminateDrawable, String message, AbDialogOnLoadListener abDialogOnLoadListener)
static void | removeDialog (Context context)
static void | removeDialog (View view)

## 静态 Private 属性
static String | mDialogTag = "dialog"

## 详细描述

© 2012 amsoft.cn 名称：AbDialogUtil.java 描述：Dialog工具类.

作者
  还如一梦中

版本
  v1.0

日期
  ：2014-07-02 下午11:52:13

## 成员函数说明

static void com.ab.util.AbDialogUtil.removeDialog | ( | Context | context | ) |
| inline static

描述：移除Fragment.

参数

  context | the context

static void com.ab.util.AbDialogUtil.removeDialog | ( | View | view | ) |
| inline static

描述：移除Fragment和View

参数

  view |

static AbAlertDialogFragment com.ab.util.AbDialogUtil.showAlertDialog | ( | Context | context,
|  | int | icon,
|  | String | title,
|  | String | message
| ) |  |
| inline static

描述：对话框dialog （图标，标题，String内容）.

参数

  context |
  icon |
  title | 对话框标题内容
  view | 对话框提示内容

static AbAlertDialogFragment com.ab.util.AbDialogUtil.showAlertDialog | ( | Context | context,
|  | int | icon,
|  | String | title,
|  | String | message,
|  | AbDialogOnClickListener | onClickListener
| ) |  |
| inline static

显示一个一般的对话框（图标，标题，string内容，确认，取消）.

参数

  context |
  icon |
  title | 对话框标题内容
  message | 对话框提示内容
  onClickListener | 点击确认按钮的事件监听

static AbAlertDialogFragment com.ab.util.AbDialogUtil.showAlertDialog | ( | Context | context,
|  | String | title,
|  | String | message,
|  | AbDialogOnClickListener | onClickListener
| ) |  |
| inline static

显示一个一般的对话框（标题，String内容，确认，取消）.

参数

  context |
  title | 对话框标题内容
  message | 对话框提示内容
  onClickListener | 点击确认按钮的事件监听

static AbAlertDialogFragment com.ab.util.AbDialogUtil.showAlertDialog | ( | View | view | ) |
| inline static

显示一个一般的对话框（View内容）.

参数

  view | 对话框标题内容

static AbAlertDialogFragment com.ab.util.AbDialogUtil.showAlertDialog | ( | Context | context,
|  | String | message
| ) |  |
| inline static

显示一个一般的对话框（String内容）.

参数

  context |
  title | 对话框标题内容

static AbAlertDialogFragment com.ab.util.AbDialogUtil.showAlertDialog | ( | int | icon,
|  | String | title,
|  | View | view
| ) |  |
| inline static

描述：对话框dialog （图标，标题，View内容）.

参数

  icon |
  title | 对话框标题内容
  view | 对话框提示内容

static AbAlertDialogFragment com.ab.util.AbDialogUtil.showAlertDialog | ( | int | icon,
|  | String | title,
|  | View | view,
|  | AbDialogOnClickListener | onClickListener
| ) |  |
| inline static

显示一个一般的对话框（图标，标题，View内容，确认，取消）.

参数

  icon |
  title | 对话框标题内容
  view | 对话框提示内容
  onClickListener | 点击确认按钮的事件监听

static AbAlertDialogFragment com.ab.util.AbDialogUtil.showAlertDialog | ( | String | title,
|  | View | view
| ) |  |
| inline static

描述：对话框dialog （标题，View内容）.

参数

  title | 对话框标题内容
  view | 对话框提示内容

static AbAlertDialogFragment com.ab.util.AbDialogUtil.showAlertDialog | ( | String | title,
|  | View | view,
|  | AbDialogOnClickListener | onClickListener
| ) |  |
| inline static

显示一个一般的对话框（标题，View内容，确认，取消）.

参数

  title | 对话框标题内容
  view | 对话框提示内容
  onClickListener | 点击确认按钮的事件监听

static AbAlertDialogFragment com.ab.util.AbDialogUtil.showAlertDialog | ( | Context | context,
|  | String | title,
|  | String | message
| ) |  |
| inline static

描述：对话框dialog （标题，String内容）.

参数

  context |
  title | 对话框标题内容
  view | 对话框提示内容

static AbSampleDialogFragment com.ab.util.AbDialogUtil.showDialog | ( | View | view | ) |
| inline static

显示一个自定义的对话框(有背景层)

参数

  view |

static AbSampleDialogFragment com.ab.util.AbDialogUtil.showDialog | ( | View | view,
|  | int | gravity
| ) |  |
| inline static

描述：显示一个自定义的对话框(有背景层).

参数

  view |
  gravity | 位置

返回

static AbSampleDialogFragment com.ab.util.AbDialogUtil.showDialog | ( | View | view,
|  | int | animEnter,
|  | int | animExit,
|  | int | animPopEnter,
|  | int | animPopExit
| ) |  |
| inline static

显示一个自定义的对话框(有背景层)

参数

  view |
  animEnter |
  animExit |
  animPopEnter |
  animPopExit |

返回

static AbSampleDialogFragment com.ab.util.AbDialogUtil.showDialog | ( | View | view,
|  | int | animEnter,
|  | int | animExit,
|  | int | animPopEnter,
|  | int | animPopExit,
|  | int | gravity
| ) |  |
| inline static

描述：显示一个自定义的对话框(有背景层).

参数

  view |
  animEnter |
  animExit |
  animPopEnter |
  animPopExit |
  gravity | 位置

返回

static AbSampleDialogFragment com.ab.util.AbDialogUtil.showDialog | ( | View | view,
|  | DialogInterface.OnCancelListener | onCancelListener
| ) |  |
| inline static

显示一个自定义的对话框(有背景层)

参数

  view |
  onCancelListener |

返回

static AbSampleDialogFragment com.ab.util.AbDialogUtil.showDialog | ( | View | view,
|  | int | gravity,
|  | DialogInterface.OnCancelListener | onCancelListener
| ) |  |
| inline static

描述：显示一个自定义的对话框(有背景层).

参数

  view |
  gravity | 位置
  onCancelListener　取消事件 |

返回

static AbSampleDialogFragment com.ab.util.AbDialogUtil.showDialog | ( | View | view,
|  | int | animEnter,
|  | int | animExit,
|  | int | animPopEnter,
|  | int | animPopExit,
|  | DialogInterface.OnCancelListener | onCancelListener
| ) |  |
| inline static

描述：显示一个自定义的对话框(有背景层).

参数

  view |
  animEnter |
  animExit |
  animPopEnter |
  animPopExit |
  onCancelListener |

返回

static AbSampleDialogFragment com.ab.util.AbDialogUtil.showDialog | ( | View | view,
|  | int | animEnter,
|  | int | animExit,
|  | int | animPopEnter,
|  | int | animPopExit,
|  | int | gravity,
|  | DialogInterface.OnCancelListener | onCancelListener
| ) |  |
| inline static

描述：显示一个自定义的对话框(有背景层).

参数

  view |
  animEnter |
  animExit |
  animPopEnter |
  animPopExit |
  gravity |
  onCancelListener |

返回

static AbSampleDialogFragment com.ab.util.AbDialogUtil.showFullScreenDialog | ( | View | view | ) |
| inline static

全屏显示一个对话框

参数

  view |

返回

static AbLoadDialogFragment com.ab.util.AbDialogUtil.showLoadDialog | ( | Context | context,
|  | int | indeterminateDrawable,
|  | String | message
| ) |  |
| inline static

描述：显示加载框.

参数

  context | the context
  indeterminateDrawable |
  message | the message

static AbLoadDialogFragment com.ab.util.AbDialogUtil.showLoadDialog | ( | Context | context,
|  | int | indeterminateDrawable,
|  | String | message,
|  | AbDialogOnLoadListener | abDialogOnLoadListener
| ) |  |
| inline static

描述：显示加载框.

参数

  context | the context
  indeterminateDrawable |
  message | the message

static AbLoadDialogFragment com.ab.util.AbDialogUtil.showLoadPanel | ( | Context | context,
|  | int | indeterminateDrawable,
|  | String | message
| ) |  |
| inline static

描述：显示加载框.

参数

  context | the context
  indeterminateDrawable |
  message | the message

static AbLoadDialogFragment com.ab.util.AbDialogUtil.showLoadPanel | ( | Context | context,
|  | int | indeterminateDrawable,
|  | String | message,
|  | AbDialogOnLoadListener | abDialogOnLoadListener
| ) |  |
| inline static

描述：显示加载框.

参数

  context | the context
  indeterminateDrawable |
  message | the message
  abDialogOnRefreshListener |

static AbSampleDialogFragment com.ab.util.AbDialogUtil.showPanel | ( | View | view | ) |
| inline static

显示一个自定义的对话框(无背景层)

参数

  view |

static AbSampleDialogFragment com.ab.util.AbDialogUtil.showPanel | ( | View | view,
|  | int | gravity
| ) |  |
| inline static

描述：显示一个自定义的对话框(无背景层).

参数

  view |
  gravity |

返回

static AbSampleDialogFragment com.ab.util.AbDialogUtil.showPanel | ( | View | view,
|  | DialogInterface.OnCancelListener | onCancelListener
| ) |  |
| inline static

显示一个自定义的对话框(无背景层)

参数

  view |
  onCancelListener |

返回

static AbSampleDialogFragment com.ab.util.AbDialogUtil.showPanel | ( | View | view,
|  | int | gravity,
|  | DialogInterface.OnCancelListener | onCancelListener
| ) |  |
| inline static

显示一个自定义的对话框(无背景层)

参数

  view |
  onCancelListener |

返回

static AbProgressDialogFragment com.ab.util.AbDialogUtil.showProgressDialog | ( | Context | context,
|  | int | indeterminateDrawable,
|  | String | message
| ) |  |
| inline static

描述：显示进度框.

参数

  context | the context
  indeterminateDrawable | 用默认请写0
  message | the message

static AbRefreshDialogFragment com.ab.util.AbDialogUtil.showRefreshDialog | ( | Context | context,
|  | int | indeterminateDrawable,
|  | String | message
| ) |  |
| inline static

描述：显示刷新框.

参数

  context | the context
  indeterminateDrawable |
  message | the message
  abDialogOnRefreshListener |

static AbRefreshDialogFragment com.ab.util.AbDialogUtil.showRefreshDialog | ( | Context | context,
|  | int | indeterminateDrawable,
|  | String | message,
|  | AbDialogOnLoadListener | abDialogOnLoadListener
| ) |  |
| inline static

描述：显示刷新框.

参数

  context |
  indeterminateDrawable |
  message |
  abDialogOnRefreshListener |

返回

static AbRefreshDialogFragment com.ab.util.AbDialogUtil.showRefreshPanel | ( | Context | context,
|  | int | indeterminateDrawable,
|  | String | message
| ) |  |
| inline static

描述：显示刷新框.

参数

  context | the context
  indeterminateDrawable |
  message | the message

static AbRefreshDialogFragment com.ab.util.AbDialogUtil.showRefreshPanel | ( | Context | context,
|  | int | indeterminateDrawable,
|  | String | message,
|  | AbDialogOnLoadListener | abDialogOnLoadListener
| ) |  |
| inline static

描述：显示刷新框.

参数

  context |
  indeterminateDrawable |
  message |
  abDialogOnRefreshListener |

返回

static AbSampleDialogFragment com.ab.util.AbDialogUtil.showTips | ( | View | view | ) |
| inline static

全屏显示一个对话框不影响下面的View的点击

参数

  view |

返回

## 类成员变量说明

String com.ab.util.AbDialogUtil.mDialogTag = "dialog"
| static private

dialog tag

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

- src/com/ab/util/AbDialogUtil.java