public class BasicMenuEntry extends Object implements MenuEntry
| Constructor and Description |
|---|
BasicMenuEntry(String id,
String labelMessageKey)
Create a menu entry with ID and a label based on a message key
|
| Modifier and Type | Method and Description |
|---|---|
String |
getId() |
String |
getLabel() |
String |
getLabelMessageKey() |
String |
getLocalizedLabel(Locale locale,
Object... arguments)
Return the localized label of the menu item.
|
public String getId()
public String getLabel()
public String getLabelMessageKey()
public String getLocalizedLabel(Locale locale, Object... arguments)
MenuEntryMenuEntry.getLabel() if localization is not supported.getLocalizedLabel in interface MenuEntrylocale - the locale to usearguments - any arguments to pass to the i18n functionCopyright © 2019 Communote team. All rights reserved.