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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetIcon()Get icon property.getLink()Get link property.Get tooltip property.getValue()Get value property.voidSet icon property.voidSet link property.voidsetTooltip(String tooltip) Set tooltip property.voidSet 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:
setTooltipin interfaceMenuItem
-
getTooltip
Get tooltip property.- Specified by:
getTooltipin interfaceMenuItem
-
toString
Return String representation.
-