org.apache.maven.doxia.site.decoration
public class Menu extends java.lang.Object implements java.io.Serializable
Constructor and Description |
---|
Menu() |
Modifier and Type | Method and Description |
---|---|
void |
addItem(MenuItem menuItem)
Method addItem.
|
boolean |
equals(java.lang.Object other)
Method equals.
|
java.lang.String |
getAlt()
Get the alt description for the image.
|
java.lang.String |
getBorder()
Get the border to use for the menu image.
|
java.lang.String |
getHeight()
Get the height to use for the menu image.
|
java.lang.String |
getImg()
Get the source location of an menu image.
|
java.lang.String |
getInherit()
Get the way in which the menu is inherited.
|
java.util.List |
getItems()
Method getItems.
|
java.lang.String |
getName()
Get the name to display for the menu.
|
java.lang.String |
getPosition()
Get where to place the image regarding the displayed name
(left or right).
|
java.lang.String |
getRef()
Get a reference to a pre-defined menu, such as a
reports , modules
or parent . |
java.lang.String |
getWidth()
Get the width to use for the menu image.
|
int |
hashCode()
Method hashCode.
|
boolean |
isInheritAsRef()
Get if this is a reference, setting
|
void |
removeItem(MenuItem menuItem)
Method removeItem.
|
void |
setAlt(java.lang.String alt)
Set the alt description for the image.
|
void |
setBorder(java.lang.String border)
Set the border to use for the menu image.
|
void |
setHeight(java.lang.String height)
Set the height to use for the menu image.
|
void |
setImg(java.lang.String img)
Set the source location of an menu image.
|
void |
setInherit(java.lang.String inherit)
Set the way in which the menu is inherited.
|
void |
setInheritAsRef(boolean inheritAsRef)
Set if this is a reference, setting
|
void |
setItems(java.util.List items)
Set a list of menu item.
|
void |
setName(java.lang.String name)
Set the name to display for the menu.
|
void |
setPosition(java.lang.String position)
Set where to place the image regarding the displayed name
(left or right).
|
void |
setRef(java.lang.String ref)
Set a reference to a pre-defined menu, such as a
reports , modules
or parent . |
void |
setWidth(java.lang.String width)
Set the width to use for the menu image.
|
java.lang.String |
toString()
Method toString.
|
public void addItem(MenuItem menuItem)
menuItem
- public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
other
- public java.lang.String getAlt()
public java.lang.String getBorder()
public java.lang.String getHeight()
public java.lang.String getImg()
public java.lang.String getInherit()
top
, bottom
.public java.util.List getItems()
public java.lang.String getName()
public java.lang.String getPosition()
public java.lang.String getRef()
reports
, modules
or parent
.public java.lang.String getWidth()
public int hashCode()
hashCode
in class java.lang.Object
public boolean isInheritAsRef()
public void removeItem(MenuItem menuItem)
menuItem
- public void setAlt(java.lang.String alt)
alt
- public void setBorder(java.lang.String border)
border
- public void setHeight(java.lang.String height)
height
- public void setImg(java.lang.String img)
img
- public void setInherit(java.lang.String inherit)
top
, bottom
.inherit
- public void setInheritAsRef(boolean inheritAsRef)
inheritAsRef
- public void setItems(java.util.List items)
items
- public void setName(java.lang.String name)
name
- public void setPosition(java.lang.String position)
position
- public void setRef(java.lang.String ref)
reports
, modules
or parent
.ref
- public void setWidth(java.lang.String width)
width
- public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2005-2014. All Rights Reserved.