|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Menu
Menu is an interface for an ordered list of MenuItems.
| Field Summary | |
|---|---|
static String |
CONTEXT_ACTION
|
static String |
CONTEXT_MENU
|
static String |
STATE_MENU
|
| Fields inherited from interface org.sakaiproject.cheftool.api.MenuItem |
|---|
CHECKED_FALSE, CHECKED_NA, CHECKED_TRUE |
| Method Summary | |
|---|---|
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. |
| Methods inherited from interface org.sakaiproject.cheftool.api.MenuItem |
|---|
getAccessibilityLabel, getAction, getChecked, getForm, getIcon, getIsContainer, getIsDivider, getIsEnabled, getIsField, getItem, getItems, getTitle, getUrl, isEmpty, size |
| Field Detail |
|---|
static final String CONTEXT_ACTION
static final String CONTEXT_MENU
static final String STATE_MENU
| Method Detail |
|---|
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()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||