|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

java.lang.Objectorg.apache.tiles.beans.SimpleMenuItem
public class SimpleMenuItem
A MenuItem implementation. Used to read menu items in definitions.
| Constructor Summary | |
|---|---|
SimpleMenuItem()
Constructor. |
|
| Method Summary | |
|---|---|
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. what is really visible to the user. |
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. what is really visible to the user. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleMenuItem()
| Method Detail |
|---|
public void setValue(java.lang.String value)
setValue in interface MenuItemvalue - The value of the item.public java.lang.String getValue()
getValue in interface MenuItempublic void setLink(java.lang.String link)
setLink in interface MenuItemlink - The link.public java.lang.String getLink()
getLink in interface MenuItempublic void setIcon(java.lang.String icon)
setIcon in interface MenuItemicon - The icon URL.public java.lang.String getIcon()
getIcon in interface MenuItempublic void setTooltip(java.lang.String tooltip)
setTooltip in interface MenuItemtooltip - The tooltip text.public java.lang.String getTooltip()
getTooltip in interface MenuItempublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||