Home » tiles-2.2.1-src » org.apache » tiles » beans » [javadoc | source]
org.apache.tiles.beans
public class: SimpleMenuItem [javadoc | source]
java.lang.Object
   org.apache.tiles.beans.SimpleMenuItem

All Implemented Interfaces:
    MenuItem, Serializable

A MenuItem implementation. Used to read menu items in definitions.
Constructor:
 public SimpleMenuItem() 
Method from org.apache.tiles.beans.SimpleMenuItem Summary:
getIcon,   getLink,   getTooltip,   getValue,   setIcon,   setLink,   setTooltip,   setValue,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.tiles.beans.SimpleMenuItem Detail:
 public String getIcon() 
    Returns the (optional) icon image URL.
 public String getLink() 
    Returns the link where the menu item points to.
 public String getTooltip() 
    Returns the (optional) tooltip text.
 public String getValue() 
    Returns the value of the item, i.e. what is really visible to the user.
 public  void setIcon(String icon) 
    Sets the (optional) icon image URL.
 public  void setLink(String link) 
    Sets the link where the menu item points to.
 public  void setTooltip(String tooltip) 
    Sets the (optional) tooltip text.
 public  void setValue(String value) 
    Sets the value of the item, i.e. what is really visible to the user.
 public String toString() 
    {@inheritDoc}