| org.sakaiproject.cheftool.api.Menu
All known Subclasses: org.sakaiproject.cheftool.menu.MenuImpl,
Menu | public interface Menu extends MenuItem(Code) | |
Menu is an interface for an ordered list of MenuItems.
|
Method Summary | |
MenuItem | add(MenuItem item) Add a menu item to the bar.
Parameters: entry - The menu item to add. | 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.
Parameters: value - True to show disabled items, False otherwise. |
CONTEXT_ACTION | final public static String CONTEXT_ACTION(Code) | | |
add | MenuItem add(MenuItem item)(Code) | | Add a menu item to the bar.
Parameters: entry - The menu item to add. the item. |
adjustDividers | void adjustDividers()(Code) | | Adjust by removing any dividers at the start or end.
|
clear | void clear()(Code) | | Clear the menu of all items.
|
getShowdisabled | boolean getShowdisabled()(Code) | | Access whether disabled items in this menu should be shown.
Current setting for show-disabled status (true to show disabled items, false to NOT show disabled items). |
setShowdisabled | Menu setShowdisabled(boolean value)(Code) | | Set whether disabled items in this menu should be shown.
Parameters: value - True to show disabled items, False otherwise. This, for convenience. |
|
|