public interface MenuItem
text
and URL
. When
iterating through a menu tree, each node encountered is a MenuItem
.Modifier and Type | Field and Description |
---|---|
static int |
ARTICLE
is this menuitem an article?
|
static int |
INCLUDEMENU
is this menuitem which includes another menu?
|
static int |
LINK
is this menuitem a link?
|
static int |
SECTION
is this menuitem a section?
|
static int |
SPACE
is this menuitem a space?
|
Modifier and Type | Method and Description |
---|---|
List |
getChildren()
returns a collection with all the menuitems children
|
String |
getImageURL()
returns the image associated with this menuitem
|
int |
getLevel()
returns the level of the menuitem
|
MenuItem |
getParent()
returns the parent of the menuitem
|
String |
getText()
returns the text of the menuitem
|
String |
getText(String lang)
returns the language specific text of the menuitem
|
int |
getType()
returns the type of menuitem
|
String |
getURL()
returns the url of the menuitem
|
static final int SECTION
static final int LINK
static final int SPACE
static final int INCLUDEMENU
static final int ARTICLE
String getURL()
List getChildren()
String getImageURL()
String getText()
int getType()
int getLevel()
MenuItem getParent()
© 1998- 2018 Escenic AS