Interface MenuItem

All Superinterfaces:
Serializable
All Known Implementing Classes:
SimpleMenuItem

public interface MenuItem extends Serializable
Interface for MenuItems.
Version:
$Rev: 527870 $ $Date: 2007-04-12 20:19:41 +1000 (Thu, 12 Apr 2007) $
See Also:
  • Method Details

    • 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.