|
||||||||||
| 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 | |
|---|---|
String |
getIcon()
Returns the (optional) icon image URL. |
String |
getLink()
Returns the link where the menu item points to. |
String |
getTooltip()
Returns the (optional) tooltip text. |
String |
getValue()
Returns the value of the item, i.e. what is really visible to the user. |
void |
setIcon(String icon)
Sets the (optional) icon image URL. |
void |
setLink(String link)
Sets the link where the menu item points to. |
void |
setTooltip(String tooltip)
Sets the (optional) tooltip text. |
void |
setValue(String value)
Sets the value of the item, i.e. what is really visible to the user. |
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(String value)
setValue in interface MenuItemvalue - The value of the item.public String getValue()
getValue in interface MenuItempublic void setLink(String link)
setLink in interface MenuItemlink - The link.public String getLink()
getLink in interface MenuItempublic void setIcon(String icon)
setIcon in interface MenuItemicon - The icon URL.public String getIcon()
getIcon in interface MenuItempublic void setTooltip(String tooltip)
setTooltip in interface MenuItemtooltip - The tooltip text.public String getTooltip()
getTooltip in interface MenuItempublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||