Package org.apache.struts.tiles.beans
Class SimpleMenuItem
java.lang.Object
org.apache.struts.tiles.beans.SimpleMenuItem
- All Implemented Interfaces:
Serializable
,MenuItem
A MenuItem implementation.
Used to read menu items in definitions.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetIcon()
Get icon property.getLink()
Get link property.Get tooltip property.getValue()
Get value property.void
Set icon property.void
Set link property.void
setTooltip
(String tooltip) Set tooltip property.void
Set value property.toString()
Return String representation.
-
Constructor Details
-
SimpleMenuItem
public SimpleMenuItem()Constructor.
-
-
Method Details
-
setValue
Set value property. -
getValue
Get value property. -
setLink
Set link property. -
getLink
Get link property. -
setIcon
Set icon property. -
getIcon
Get icon property. -
setTooltip
Set tooltip property.- Specified by:
setTooltip
in interfaceMenuItem
-
getTooltip
Get tooltip property.- Specified by:
getTooltip
in interfaceMenuItem
-
toString
Return String representation.
-