Package org.apache.tiles.beans
Interface MenuItem
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
SimpleMenuItem
Interface for MenuItems.
- Version:
- $Rev: 527870 $ $Date: 2007-04-12 20:19:41 +1000 (Thu, 12 Apr 2007) $
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetIcon()
Returns the icon URL of this menu item.getLink()
Returns the URL of this menu item.Returns the tooltip text.getValue()
Returns the value (i.e.void
Sets the icon URL of this menu item.void
Sets the URL of this menu item.void
setTooltip
(String link) Sets the tooltip text.void
Sets the value (i.e.
-
Method Details
-
setValue
Sets the value (i.e. the visible part) of this menu item.- Parameters:
value
- The value of this item.
-
getValue
String getValue()Returns the value (i.e. the visible part) of this menu item.- Returns:
- The value of this item.
-
setLink
Sets the URL of this menu item.- Parameters:
link
- The URL of this item.
-
getLink
String getLink()Returns the URL of this menu item.- Returns:
- The URL of this item.
-
setIcon
Sets the icon URL of this menu item.- Parameters:
link
- The icon URL.
-
getIcon
String getIcon()Returns the icon URL of this menu item.- Returns:
- The icon URL.
-
setTooltip
Sets the tooltip text.- Parameters:
link
- The tooltip text.
-
getTooltip
String getTooltip()Returns the tooltip text.- Returns:
- The tooltip text.
-