Interface MenuItem

  • All Superinterfaces:
    java.io.Serializable
    All Known Implementing Classes:
    SimpleMenuItem

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getIcon()
      Returns the icon URL of this menu item.
      java.lang.String getLink()
      Returns the URL of this menu item.
      java.lang.String getTooltip()
      Returns the tooltip text.
      java.lang.String getValue()
      Returns the value (i.e.
      void setIcon​(java.lang.String link)
      Sets the icon URL of this menu item.
      void setLink​(java.lang.String link)
      Sets the URL of this menu item.
      void setTooltip​(java.lang.String link)
      Sets the tooltip text.
      void setValue​(java.lang.String value)
      Sets the value (i.e.
    • Method Detail

      • setValue

        void setValue​(java.lang.String value)
        Sets the value (i.e. the visible part) of this menu item.
        Parameters:
        value - The value of this item.
      • getValue

        java.lang.String getValue()
        Returns the value (i.e. the visible part) of this menu item.
        Returns:
        The value of this item.
      • setLink

        void setLink​(java.lang.String link)
        Sets the URL of this menu item.
        Parameters:
        link - The URL of this item.
      • getLink

        java.lang.String getLink()
        Returns the URL of this menu item.
        Returns:
        The URL of this item.
      • setIcon

        void setIcon​(java.lang.String link)
        Sets the icon URL of this menu item.
        Parameters:
        link - The icon URL.
      • getIcon

        java.lang.String getIcon()
        Returns the icon URL of this menu item.
        Returns:
        The icon URL.
      • setTooltip

        void setTooltip​(java.lang.String link)
        Sets the tooltip text.
        Parameters:
        link - The tooltip text.
      • getTooltip

        java.lang.String getTooltip()
        Returns the tooltip text.
        Returns:
        The tooltip text.