public class SimpleMenuAppender extends Object implements MenuAppender
Modifier and Type | Field and Description |
---|---|
static String |
copyright |
String |
icon |
String |
id |
String |
labelKey |
String |
link |
static org.slf4j.Logger |
logger |
double |
order |
String |
targetMenuGroupId |
Modifier | Constructor and Description |
---|---|
protected |
SimpleMenuAppender(String targetMenuGroupId,
String id,
String icon,
String labelKey,
String link,
double order) |
Modifier and Type | Method and Description |
---|---|
void |
append(Menu menu) |
protected void |
appendMenuGroup(Menu menu,
String label) |
protected void |
appendMenuLink(Menu menu,
String label) |
static SimpleMenuAppender |
group(String id,
String icon,
String labelKey,
double order) |
static SimpleMenuAppender |
link(String id,
String icon,
String labelKey,
String link,
double order) |
static SimpleMenuAppender |
link(String targetMenuGroupId,
String id,
String icon,
String labelKey,
String link,
double order) |
public static final String copyright
public static final org.slf4j.Logger logger
public final String targetMenuGroupId
public final String id
public final String icon
public final String labelKey
public final String link
public final double order
public static SimpleMenuAppender group(String id, @Nullable String icon, String labelKey, double order)
public static SimpleMenuAppender link(String id, @Nullable String icon, String labelKey, String link, double order)
public static SimpleMenuAppender link(String targetMenuGroupId, String id, @Nullable String icon, String labelKey, String link, double order)
public void append(Menu menu)
append
in interface MenuAppender