|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.doxia.site.decoration.LinkItem org.apache.maven.doxia.site.decoration.MenuItem
public class MenuItem
A menu item.
Constructor Summary | |
---|---|
MenuItem()
|
Method Summary | |
---|---|
void |
addItem(MenuItem menuItem)
Method addItem. |
MenuItem |
clone()
Method clone. |
boolean |
equals(Object other)
Method equals. |
String |
getDescription()
Get a description of the menu item. |
List<MenuItem> |
getItems()
Method getItems. |
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(String description)
Set a description of the menu item. |
void |
setItems(List<MenuItem> items)
Set a list of menu item. |
void |
setRef(String ref)
Set a reference to a pre-defined menu item, such as a report (specified by the report goal name). |
String |
toString()
Method toString. |
Methods inherited from class org.apache.maven.doxia.site.decoration.LinkItem |
---|
getAlt, getBorder, getHeight, getHref, getImg, getName, getPosition, getTarget, getTitle, getWidth, setAlt, setBorder, setHeight, setHref, setImg, setName, setPosition, setTarget, setTitle, setWidth |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MenuItem()
Method Detail |
---|
public void addItem(MenuItem menuItem)
menuItem
- public MenuItem clone()
clone
in class LinkItem
public boolean equals(Object other)
equals
in class LinkItem
other
-
public String getDescription()
public List<MenuItem> getItems()
public String getRef()
public int hashCode()
hashCode
in class LinkItem
public boolean isCollapse()
public void removeItem(MenuItem menuItem)
menuItem
- public void setCollapse(boolean collapse)
collapse
- public void setDescription(String description)
description
- public void setItems(List<MenuItem> items)
items
- public void setRef(String ref)
ref
- public String toString()
toString
in class LinkItem
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |