|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sakaiproject.cheftool.menu.MenuDivider
public class MenuDivider
MenuDivider is a menu item that makes a visible divider in the menu.
| Field Summary |
|---|
| Fields inherited from interface org.sakaiproject.cheftool.api.MenuItem |
|---|
CHECKED_FALSE, CHECKED_NA, CHECKED_TRUE, STATE_MENU |
| Constructor Summary | |
|---|---|
MenuDivider()
Construct a menu divider. |
|
| Method Summary | |
|---|---|
String |
getAction()
Access the action string for this item; what to do when the user clicks. |
int |
getChecked()
Access the checked status of this item. |
String |
getForm()
Access the form name whose values will be used when this item is selected. |
String |
getIcon()
Access the icon name for the item (or null if no icon). |
boolean |
getIsContainer()
Does this item act as a container for other items? |
boolean |
getIsDivider()
Is this item a divider ? |
boolean |
getIsEnabled()
Access the enabled flag for the item. |
boolean |
getIsField()
Access the is-field (not a button) flag. |
MenuItem |
getItem(int index)
Access one sub-items of the item. |
List |
getItems()
Access the sub-items of the item. |
String |
getTitle()
Access the display title for the item. |
String |
getUrl()
Access the full URL string for this item; what to do when the user clicks. |
boolean |
isEmpty()
Check if there are any sub-items. |
int |
size()
Count the sub-items of the item. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MenuDivider()
| Method Detail |
|---|
public boolean getIsContainer()
getIsContainer in interface MenuItempublic boolean getIsDivider()
getIsDivider in interface MenuItempublic String getTitle()
getTitle in interface MenuItempublic String getIcon()
getIcon in interface MenuItempublic boolean getIsEnabled()
getIsEnabled in interface MenuItempublic String getAction()
getAction in interface MenuItempublic String getUrl()
getUrl in interface MenuItempublic String getForm()
getForm in interface MenuItempublic List getItems()
getItems in interface MenuItempublic MenuItem getItem(int index)
getItem in interface MenuItemindex - The index position (0 based) for the sub-item to get.
public int getChecked()
getChecked in interface MenuItemMenuItempublic int size()
size in interface MenuItempublic boolean isEmpty()
isEmpty in interface MenuItempublic boolean getIsField()
getIsField in interface MenuItem
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||