You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by ce...@apache.org on 2003/02/27 20:20:25 UTC

cvs commit: jakarta-struts/src/share/org/apache/struts/tiles/beans SimpleMenuItem.java MenuItem.java

cedric      2003/02/27 11:20:25

  Modified:    src/share/org/apache/struts/tiles/beans SimpleMenuItem.java
                        MenuItem.java
  Log:
  Documentation corrections and updates.
  No code change.
  Patches from Yann Cebron
  
  Revision  Changes    Path
  1.2       +14 -14    jakarta-struts/src/share/org/apache/struts/tiles/beans/SimpleMenuItem.java
  
  Index: SimpleMenuItem.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/tiles/beans/SimpleMenuItem.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SimpleMenuItem.java	25 Jun 2002 03:15:43 -0000	1.1
  +++ SimpleMenuItem.java	27 Feb 2003 19:20:25 -0000	1.2
  @@ -66,8 +66,8 @@
   
   
     /**
  -   * A bean MenuItem implementation.
  -   * Used to read menu item in definitions.
  +   * A MenuItem implementation.
  +   * Used to read menu items in definitions.
      */
   public class SimpleMenuItem implements MenuItem, Serializable
   {
  @@ -84,7 +84,7 @@
     {
     }
       /**
  -     * Set value property
  +     * Set value property.
        */
     public void setValue(String value)
     {
  @@ -92,7 +92,7 @@
     }
   
       /**
  -     * Get value property
  +     * Get value property.
        */
     public String getValue()
     {
  @@ -100,7 +100,7 @@
     }
   
       /**
  -     * Set link property
  +     * Set link property.
        */
     public void setLink(String link)
     {
  @@ -108,7 +108,7 @@
     }
   
       /**
  -     * Get link property
  +     * Get link property.
        */
     public String getLink()
     {
  @@ -116,7 +116,7 @@
     }
   
       /**
  -     * Get icon property
  +     * Set icon property.
        */
     public void setIcon(String icon)
     {
  @@ -124,7 +124,7 @@
     }
   
       /**
  -     * Get icon property
  +     * Get icon property.
        */
     public String getIcon()
     {
  @@ -132,7 +132,7 @@
     }
   
       /**
  -     * Get tooltip property
  +     * Set tooltip property.
        */
     public void setTooltip(String tooltip)
     {
  @@ -140,7 +140,7 @@
     }
   
       /**
  -     * Get tooltip property
  +     * Get tooltip property.
        */
     public String getTooltip()
     {
  @@ -148,7 +148,7 @@
     }
   
       /**
  -     * toString method
  +     * Return String representation.
        */
     public String toString()
     {
  
  
  
  1.2       +13 -13    jakarta-struts/src/share/org/apache/struts/tiles/beans/MenuItem.java
  
  Index: MenuItem.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/tiles/beans/MenuItem.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- MenuItem.java	25 Jun 2002 03:15:43 -0000	1.1
  +++ MenuItem.java	27 Feb 2003 19:20:25 -0000	1.2
  @@ -66,48 +66,48 @@
   
   
     /**
  -   * A bean MenuItem interface.
  -   *
  +   * Interface for MenuItems.
  +   * @see SimpleMenuItem
      */
   public interface MenuItem extends Serializable
   {
       /**
  -     * Set value property
  +     * Set value property.
        */
     public void setValue(String value);
   
       /**
  -     * Get value property
  +     * Get value property.
        */
     public String getValue();
   
       /**
  -     * Set link property
  +     * Set link property.
        */
     public void setLink(String link);
   
       /**
  -     * Get link property
  +     * Get link property.
        */
     public String getLink();
   
       /**
  -     * Set icon property
  +     * Set icon property.
        */
     public void setIcon(String link);
   
       /**
  -     * Get icon property
  +     * Get icon property.
        */
     public String getIcon();
   
       /**
  -     * Set tooltip property
  +     * Set tooltip property.
        */
     public void setTooltip(String link);
   
       /**
  -     * Get tooltip property
  +     * Get tooltip property.
        */
     public String getTooltip();
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org