Package org.craftercms.studio.model.ui
Class MenuItem
java.lang.Object
org.craftercms.studio.model.ui.MenuItem
Represents an item that is displayed in a UI menu.
- Author:
- avasquez
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetIcon()Returns the icon of the item as a Font Awesome id, example: fa-smile.getId()Returns the ID of the item.getLabel()Returns the label of the item.voidSets the icon of the item as a Font Awesome id, example: fa-smile.voidSets the ID of the item.voidSets the label of the item.
-
Constructor Details
-
MenuItem
public MenuItem()
-
-
Method Details
-
getId
Returns the ID of the item. -
setId
Sets the ID of the item. -
getLabel
Returns the label of the item. -
setLabel
Sets the label of the item. -
getIcon
Returns the icon of the item as a Font Awesome id, example: fa-smile. -
setIcon
Sets the icon of the item as a Font Awesome id, example: fa-smile.
-