org.apache.maven.doxia.site.decoration
public class MenuItem extends LinkItem implements java.io.Serializable
Constructor and Description |
---|
MenuItem() |
Modifier and Type | Method and Description |
---|---|
void |
addItem(MenuItem menuItem)
Method addItem.
|
void |
breakMenuItemAssociation(MenuItem menuItem)
Method breakMenuItemAssociation.
|
void |
createMenuItemAssociation(MenuItem menuItem)
Method createMenuItemAssociation.
|
boolean |
equals(java.lang.Object other)
Method equals.
|
java.lang.String |
getDescription()
Get a description of the menu item.
|
java.util.List |
getItems()
Method getItems.
|
java.lang.String |
getRef()
Get a reference to a pre-defined menu item, such as a report
(specified by the report goal
name).
|
int |
hashCode()
Method hashCode.
|
boolean |
isCollapse()
Get whether to collapse children elements of an item menu
(by default).
|
void |
removeItem(MenuItem menuItem)
Method removeItem.
|
void |
setCollapse(boolean collapse)
Set whether to collapse children elements of an item menu
(by default).
|
void |
setDescription(java.lang.String description)
Set a description of the menu item.
|
void |
setItems(java.util.List items)
Set a list of menu item.
|
void |
setRef(java.lang.String ref)
Set a reference to a pre-defined menu item, such as a report
(specified by the report goal
name).
|
java.lang.String |
toString()
Method toString.
|
public void addItem(MenuItem menuItem)
menuItem
- public void breakMenuItemAssociation(MenuItem menuItem)
menuItem
- public void createMenuItemAssociation(MenuItem menuItem)
menuItem
- public boolean equals(java.lang.Object other)
public java.lang.String getDescription()
public java.util.List getItems()
public java.lang.String getRef()
public boolean isCollapse()
public void removeItem(MenuItem menuItem)
menuItem
- public void setCollapse(boolean collapse)
collapse
- public void setDescription(java.lang.String description)
description
- public void setItems(java.util.List items)
items
- public void setRef(java.lang.String ref)
ref
- Copyright © 2005-2014. All Rights Reserved.