org.apache.tiles.beans
public class SimpleMenuItem extends java.lang.Object implements MenuItem, java.io.Serializable
Constructor and Description |
---|
SimpleMenuItem()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getIcon()
Returns the (optional) icon image URL.
|
java.lang.String |
getLink()
Returns the link where the menu item points to.
|
java.lang.String |
getTooltip()
Returns the (optional) tooltip text.
|
java.lang.String |
getValue()
Returns the value of the item, i.e.
|
void |
setIcon(java.lang.String icon)
Sets the (optional) icon image URL.
|
void |
setLink(java.lang.String link)
Sets the link where the menu item points to.
|
void |
setTooltip(java.lang.String tooltip)
Sets the (optional) tooltip text.
|
void |
setValue(java.lang.String value)
Sets the value of the item, i.e.
|
java.lang.String |
toString() |
public void setValue(java.lang.String value)
public java.lang.String getValue()
public void setLink(java.lang.String link)
public java.lang.String getLink()
public void setIcon(java.lang.String icon)
public java.lang.String getIcon()
public void setTooltip(java.lang.String tooltip)
setTooltip
in interface MenuItem
tooltip
- The tooltip text.public java.lang.String getTooltip()
getTooltip
in interface MenuItem
public java.lang.String toString()
toString
in class java.lang.Object