Classes | |
class | Adapter |
class | RibbonMenuItem |
class | SavedState |
Public Member Functions | |
int | addItem (String text, int icon) |
void | clearButtonId () |
void | hideMenu () |
boolean | isMenuVisible () |
RibbonMenuView (Context context) | |
RibbonMenuView (Context context, AttributeSet attrs) | |
void | setBackgroundResource (int resource) |
void | setItemIcon (int icon1, int icon2) |
void | setMenuClickCallback (iRibbonMenuCallback callback) |
void | setMenuItems (int menu) |
void | showMenu () |
void | toggleMenu () |
Protected Member Functions | |
void | onRestoreInstanceState (Parcelable state) |
Parcelable | onSaveInstanceState () |
Private Member Functions | |
void | inflateLayout () |
void | initUi () |
void | load () |
void | parseXml (int menu) |
String | resourceIdToString (String text) |
Private Attributes | |
int | button_id |
iRibbonMenuCallback | callback |
int | icon1 |
int | icon2 |
ListView | rbmListView |
View | rbmOutsideView |
Static Private Attributes | |
static ArrayList< RibbonMenuItem > | menuItems |
Definition at line 28 of file RibbonMenuView.java.
com.darvds.ribbonmenu.RibbonMenuView.RibbonMenuView | ( | Context | context | ) | [inline] |
Definition at line 40 of file RibbonMenuView.java.
com.darvds.ribbonmenu.RibbonMenuView.RibbonMenuView | ( | Context | context, |
AttributeSet | attrs | ||
) | [inline] |
Definition at line 46 of file RibbonMenuView.java.
int com.darvds.ribbonmenu.RibbonMenuView.addItem | ( | String | text, |
int | icon | ||
) | [inline] |
Definition at line 148 of file RibbonMenuView.java.
void com.darvds.ribbonmenu.RibbonMenuView.clearButtonId | ( | ) | [inline] |
Definition at line 144 of file RibbonMenuView.java.
void com.darvds.ribbonmenu.RibbonMenuView.hideMenu | ( | ) | [inline] |
Definition at line 173 of file RibbonMenuView.java.
void com.darvds.ribbonmenu.RibbonMenuView.inflateLayout | ( | ) | [inline, private] |
Definition at line 68 of file RibbonMenuView.java.
void com.darvds.ribbonmenu.RibbonMenuView.initUi | ( | ) | [inline, private] |
Definition at line 82 of file RibbonMenuView.java.
boolean com.darvds.ribbonmenu.RibbonMenuView.isMenuVisible | ( | ) | [inline] |
Definition at line 262 of file RibbonMenuView.java.
void com.darvds.ribbonmenu.RibbonMenuView.load | ( | ) | [inline, private] |
Definition at line 55 of file RibbonMenuView.java.
void com.darvds.ribbonmenu.RibbonMenuView.onRestoreInstanceState | ( | Parcelable | state | ) | [inline, protected] |
Definition at line 270 of file RibbonMenuView.java.
Parcelable com.darvds.ribbonmenu.RibbonMenuView.onSaveInstanceState | ( | ) | [inline, protected] |
Definition at line 283 of file RibbonMenuView.java.
void com.darvds.ribbonmenu.RibbonMenuView.parseXml | ( | int | menu | ) | [inline, private] |
Definition at line 193 of file RibbonMenuView.java.
String com.darvds.ribbonmenu.RibbonMenuView.resourceIdToString | ( | String | text | ) | [inline, private] |
Definition at line 247 of file RibbonMenuView.java.
void com.darvds.ribbonmenu.RibbonMenuView.setBackgroundResource | ( | int | resource | ) | [inline] |
Definition at line 135 of file RibbonMenuView.java.
void com.darvds.ribbonmenu.RibbonMenuView.setItemIcon | ( | int | icon1, |
int | icon2 | ||
) | [inline] |
Definition at line 139 of file RibbonMenuView.java.
void com.darvds.ribbonmenu.RibbonMenuView.setMenuClickCallback | ( | iRibbonMenuCallback | callback | ) | [inline] |
Definition at line 115 of file RibbonMenuView.java.
void com.darvds.ribbonmenu.RibbonMenuView.setMenuItems | ( | int | menu | ) | [inline] |
Definition at line 119 of file RibbonMenuView.java.
void com.darvds.ribbonmenu.RibbonMenuView.showMenu | ( | ) | [inline] |
Definition at line 164 of file RibbonMenuView.java.
void com.darvds.ribbonmenu.RibbonMenuView.toggleMenu | ( | ) | [inline] |
Definition at line 183 of file RibbonMenuView.java.
int com.darvds.ribbonmenu.RibbonMenuView.button_id [private] |
Definition at line 34 of file RibbonMenuView.java.
Definition at line 33 of file RibbonMenuView.java.
int com.darvds.ribbonmenu.RibbonMenuView.icon1 [private] |
Definition at line 35 of file RibbonMenuView.java.
int com.darvds.ribbonmenu.RibbonMenuView.icon2 [private] |
Definition at line 36 of file RibbonMenuView.java.
ArrayList<RibbonMenuItem> com.darvds.ribbonmenu.RibbonMenuView.menuItems [static, private] |
Definition at line 37 of file RibbonMenuView.java.
ListView com.darvds.ribbonmenu.RibbonMenuView.rbmListView [private] |
Definition at line 30 of file RibbonMenuView.java.
View com.darvds.ribbonmenu.RibbonMenuView.rbmOutsideView [private] |
Definition at line 31 of file RibbonMenuView.java.