|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 MenuItem
value
- The value of the item.public String getValue()
getValue
in interface MenuItem
public void setLink(String link)
setLink
in interface MenuItem
link
- The link.public String getLink()
getLink
in interface MenuItem
public void setIcon(String icon)
setIcon
in interface MenuItem
icon
- The icon URL.public String getIcon()
getIcon
in interface MenuItem
public void setTooltip(String tooltip)
setTooltip
in interface MenuItem
tooltip
- The tooltip text.public String getTooltip()
getTooltip
in interface MenuItem
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |