public class MenuItem extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
link
Deprecated.
|
protected String |
name |
protected Set<MenuItem> |
submenu |
protected String |
title |
| Modifier | Constructor and Description |
|---|---|
|
MenuItem(String name) |
|
MenuItem(String name,
Set<MenuItem> submenu) |
|
MenuItem(String name,
String title) |
|
MenuItem(String name,
String title,
Set<MenuItem> submenu) |
protected |
MenuItem(String name,
String title,
String link)
Deprecated.
|
protected |
MenuItem(String name,
String title,
String link,
Set<MenuItem> submenu) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSubmenu(String name) |
void |
addSubmenu(String name,
String title) |
void |
addSubmenu(String name,
String title,
Set<MenuItem> submenu) |
MenuItem |
clone() |
String |
getLink()
Deprecated.
|
String |
getName() |
Set<MenuItem> |
getSubmenu() |
String |
getTitle() |
boolean |
hasSubmenu() |
void |
setLink(String link)
Deprecated.
|
void |
setTitle(String title) |
protected final String name
protected String title
@Deprecated protected String link
public MenuItem(String name)
@Deprecated protected MenuItem(String name, String title, String link)
public void addSubmenu(String name)
public String getName()
public String getTitle()
public void setTitle(String title)
title - the title to set@Deprecated public String getLink()
@Deprecated public void setLink(String link)
link - the link to setpublic boolean hasSubmenu()
Copyright © 2003–2016 eXo Platform SAS. All rights reserved.