This project has retired. For details please refer to its Attic page.
MenuItem (Tiles 2 2.0.7 API)

org.apache.tiles.beans
Interface MenuItem

Package class diagram package MenuItem
All Superinterfaces:
Serializable
All Known Implementing Classes:
SimpleMenuItem

public interface MenuItem
extends Serializable

Interface for MenuItems.

Version:
$Rev: 527870 $ $Date: 2007-04-12 12:19:41 +0200 (Thu, 12 Apr 2007) $
See Also:
SimpleMenuItem

Method Summary
 String getIcon()
          Returns the icon URL of this menu item.
 String getLink()
          Returns the URL of this menu item.
 String getTooltip()
          Returns the tooltip text.
 String getValue()
          Returns the value (i.e. the visible part) of this menu item.
 void setIcon(String link)
          Sets the icon URL of this menu item.
 void setLink(String link)
          Sets the URL of this menu item.
 void setTooltip(String link)
          Sets the tooltip text.
 void setValue(String value)
          Sets the value (i.e. the visible part) of this menu item.
 

Method Detail

setValue

void setValue(String value)
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

void setLink(String link)
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

void setIcon(String link)
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

void setTooltip(String link)
Sets the tooltip text.

Parameters:
link - The tooltip text.

getTooltip

String getTooltip()
Returns the tooltip text.

Returns:
The tooltip text.


Copyright © 2001-2008 Apache Software Foundation. All Rights Reserved.