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)
MenuEntry
MenuEntry.getLabel()
if localization is not supported.getLocalizedLabel
in interface MenuEntry
locale
- the locale to usearguments
- any arguments to pass to the i18n functionCopyright © 2019 Communote team. All rights reserved.