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