org.apache.struts.tiles.beans
Class SimpleMenuItem
java.lang.Object
org.apache.struts.tiles.beans.SimpleMenuItem
- MenuItem, Serializable
public class SimpleMenuItem
extends java.lang.Object
A MenuItem implementation.
Used to read menu items in definitions.
String | getIcon() - Get icon property.
|
String | getLink() - Get link property.
|
String | getTooltip() - Get tooltip property.
|
String | getValue() - Get value property.
|
void | setIcon(String icon) - Set icon property.
|
void | setLink(String link) - Set link property.
|
void | setTooltip(String tooltip) - Set tooltip property.
|
void | setValue(String value) - Set value property.
|
String | toString() - Return String representation.
|
tooltip
private String tooltip
value
private String value
SimpleMenuItem
public SimpleMenuItem()
Constructor.
getIcon
public String getIcon()
Get icon property.
- getIcon in interface MenuItem
getLink
public String getLink()
Get link property.
- getLink in interface MenuItem
getTooltip
public String getTooltip()
Get tooltip property.
- getTooltip in interface MenuItem
getValue
public String getValue()
Get value property.
- getValue in interface MenuItem
setIcon
public void setIcon(String icon)
Set icon property.
- setIcon in interface MenuItem
setLink
public void setLink(String link)
Set link property.
- setLink in interface MenuItem
setTooltip
public void setTooltip(String tooltip)
Set tooltip property.
- setTooltip in interface MenuItem
setValue
public void setValue(String value)
Set value property.
- setValue in interface MenuItem
toString
public String toString()
Return String representation.
Copyright B) 2000-2007 - The Apache Software Foundation