| Modifier and Type | Field and Description |
|---|---|
static String |
CONTEXT_ACTION |
static String |
CONTEXT_MENU |
static String |
STATE_MENU |
CHECKED_FALSE, CHECKED_NA, CHECKED_TRUE| Modifier and Type | Method and Description |
|---|---|
MenuItem |
add(MenuItem item)
Add a menu item to the bar.
|
void |
adjustDividers()
Adjust by removing any dividers at the start or end.
|
void |
clear()
Clear the menu of all items.
|
boolean |
getShowdisabled()
Access whether disabled items in this menu should be shown.
|
Menu |
setShowdisabled(boolean value)
Set whether disabled items in this menu should be shown.
|
getAccessibilityLabel, getAction, getChecked, getForm, getIcon, getIsContainer, getIsCurrent, getIsDivider, getIsEnabled, getIsField, getItem, getItems, getTitle, getUrl, isEmpty, sizestatic final String CONTEXT_ACTION
static final String CONTEXT_MENU
static final String STATE_MENU
MenuItem add(MenuItem item)
entry - The menu item to add.void clear()
void adjustDividers()
Menu setShowdisabled(boolean value)
value - True to show disabled items, False otherwise.boolean getShowdisabled()
Copyright © 2006–2020 The Sakai Foundation. All rights reserved.