org.apache.struts.tiles.beans

Class SimpleMenuItem

public class SimpleMenuItem extends Object implements MenuItem, Serializable

A MenuItem implementation. Used to read menu items in definitions.
Field Summary
Stringicon
Stringlink
Stringtooltip
Stringvalue
Constructor Summary
SimpleMenuItem()
Constructor.
Method Summary
StringgetIcon()
Get icon property.
StringgetLink()
Get link property.
StringgetTooltip()
Get tooltip property.
StringgetValue()
Get value property.
voidsetIcon(String icon)
Set icon property.
voidsetLink(String link)
Set link property.
voidsetTooltip(String tooltip)
Set tooltip property.
voidsetValue(String value)
Set value property.
StringtoString()
Return String representation.

Field Detail

icon

private String icon

link

private String link

tooltip

private String tooltip

value

private String value

Constructor Detail

SimpleMenuItem

public SimpleMenuItem()
Constructor.

Method Detail

getIcon

public String getIcon()
Get icon property.

getLink

public String getLink()
Get link property.

getTooltip

public String getTooltip()
Get tooltip property.

getValue

public String getValue()
Get value property.

setIcon

public void setIcon(String icon)
Set icon property.

setLink

public void setLink(String link)
Set link property.

setTooltip

public void setTooltip(String tooltip)
Set tooltip property.

setValue

public void setValue(String value)
Set value property.

toString

public String toString()
Return String representation.
Copyright B) 2000-2007 - The Apache Software Foundation