| AndBase开发框架 1.6

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

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

全部 类 命名空间 文件 函数 变量 枚举值 页
Public 成员函数 | 所有成员列表
com.ab.view.slidingmenu.SlidingActivityBase接口 参考
类 com.ab.view.slidingmenu.SlidingActivityBase 继承关系图:

## Public 成员函数
void | setBehindContentView (View view, LayoutParams layoutParams)
void | setBehindContentView (View view)
void | setBehindContentView (int layoutResID)
SlidingMenu | getSlidingMenu ()
void | toggle ()
void | showContent ()
void | showMenu ()
void | showSecondaryMenu ()
void | setSlidingActionBarEnabled (boolean slidingActionBarEnabled)

## 详细描述

The Interface SlidingActivityBase.

## 成员函数说明

SlidingMenu com.ab.view.slidingmenu.SlidingActivityBase.getSlidingMenu | ( |  | ) |

Gets the SlidingMenu associated with this activity.

返回
  the SlidingMenu associated with this activity.

在 com.ab.view.slidingmenu.SlidingListActivity, com.ab.view.slidingmenu.SlidingActivity, com.ab.view.slidingmenu.SlidingFragmentActivity , 以及 com.ab.view.slidingmenu.SlidingPreferenceActivity 内被实现.

void com.ab.view.slidingmenu.SlidingActivityBase.setBehindContentView | ( | View | view,
|  | LayoutParams | layoutParams
| ) |  |

Set the behind view content to an explicit view. This view is placed directly into the behind view 's view hierarchy. It can itself be a complex view hierarchy.

参数

  view | The desired content to display.
  layoutParams | Layout parameters for the view.

在 com.ab.view.slidingmenu.SlidingListActivity, com.ab.view.slidingmenu.SlidingActivity, com.ab.view.slidingmenu.SlidingFragmentActivity , 以及 com.ab.view.slidingmenu.SlidingPreferenceActivity 内被实现.

void com.ab.view.slidingmenu.SlidingActivityBase.setBehindContentView | ( | View | view | ) |

Set the behind view content to an explicit view. This view is placed directly into the behind view 's view hierarchy. It can itself be a complex view hierarchy. When calling this method, the layout parameters of the specified view are ignored. Both the width and the height of the view are set by default to MATCH_PARENT. To use your own layout parameters, invoke setContentView(android.view.View, android.view.ViewGroup.LayoutParams) instead.

参数

  view | The desired content to display.

在 com.ab.view.slidingmenu.SlidingListActivity, com.ab.view.slidingmenu.SlidingActivity, com.ab.view.slidingmenu.SlidingFragmentActivity , 以及 com.ab.view.slidingmenu.SlidingPreferenceActivity 内被实现.

void com.ab.view.slidingmenu.SlidingActivityBase.setBehindContentView | ( | int | layoutResID | ) |

Set the behind view content from a layout resource. The resource will be inflated, adding all top-level views to the behind view.

参数

  layoutResID | Resource ID to be inflated.

在 com.ab.view.slidingmenu.SlidingListActivity, com.ab.view.slidingmenu.SlidingActivity, com.ab.view.slidingmenu.SlidingFragmentActivity , 以及 com.ab.view.slidingmenu.SlidingPreferenceActivity 内被实现.

void com.ab.view.slidingmenu.SlidingActivityBase.setSlidingActionBarEnabled | ( | boolean | slidingActionBarEnabled | ) |

Controls whether the ActionBar slides along with the above view when the menu is opened, or if it stays in place.

参数

  slidingActionBarEnabled | True if you want the ActionBar to slide along with the SlidingMenu, false if you want the ActionBar to stay in place

在 com.ab.view.slidingmenu.SlidingListActivity, com.ab.view.slidingmenu.SlidingActivity, com.ab.view.slidingmenu.SlidingFragmentActivity , 以及 com.ab.view.slidingmenu.SlidingPreferenceActivity 内被实现.

void com.ab.view.slidingmenu.SlidingActivityBase.showContent | ( |  | ) |

Close the SlidingMenu and show the content view.

在 com.ab.view.slidingmenu.SlidingListActivity, com.ab.view.slidingmenu.SlidingActivity, com.ab.view.slidingmenu.SlidingFragmentActivity , 以及 com.ab.view.slidingmenu.SlidingPreferenceActivity 内被实现.

void com.ab.view.slidingmenu.SlidingActivityBase.showMenu | ( |  | ) |

Open the SlidingMenu and show the menu view.

在 com.ab.view.slidingmenu.SlidingListActivity, com.ab.view.slidingmenu.SlidingActivity, com.ab.view.slidingmenu.SlidingFragmentActivity , 以及 com.ab.view.slidingmenu.SlidingPreferenceActivity 内被实现.

void com.ab.view.slidingmenu.SlidingActivityBase.showSecondaryMenu | ( |  | ) |

Open the SlidingMenu and show the secondary (right) menu view. Will default to the regular menu if there is only one.

在 com.ab.view.slidingmenu.SlidingListActivity, com.ab.view.slidingmenu.SlidingActivity, com.ab.view.slidingmenu.SlidingFragmentActivity , 以及 com.ab.view.slidingmenu.SlidingPreferenceActivity 内被实现.

void com.ab.view.slidingmenu.SlidingActivityBase.toggle | ( |  | ) |

Toggle the SlidingMenu. If it is open, it will be closed, and vice versa.

在 com.ab.view.slidingmenu.SlidingListActivity, com.ab.view.slidingmenu.SlidingActivity, com.ab.view.slidingmenu.SlidingFragmentActivity , 以及 com.ab.view.slidingmenu.SlidingPreferenceActivity 内被实现.

该接口的文档由以下文件生成:

- src/com/ab/view/slidingmenu/SlidingActivityBase.java