jakarta-ecs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject cvs commit: jakarta-ecs/src/java/org/apache/ecs/html Input.java
Date Sat, 07 Apr 2001 09:14:47 GMT
rdonkin     01/04/07 02:14:47

  Modified:    src/java/org/apache/ecs/html Input.java
  Log:
  improved documentation
  
  Revision  Changes    Path
  1.7       +51 -10    jakarta-ecs/src/java/org/apache/ecs/html/Input.java
  
  Index: Input.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ecs/src/java/org/apache/ecs/html/Input.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- Input.java	1999/12/23 22:31:59	1.6
  +++ Input.java	2001/04/07 09:14:47	1.7
  @@ -57,33 +57,53 @@
   /**
       This class creates a <Input> tag.
   
  -    @version $Id: Input.java,v 1.6 1999/12/23 22:31:59 jonbolt Exp $
  +    @version $Id: Input.java,v 1.7 2001/04/07 09:14:47 rdonkin Exp $
       @author <a href="mailto:snagy@servletapi.com">Stephan Nagy</a>
       @author <a href="mailto:jon@clearink.com">Jon S. Stevens</a>
   */
   public class Input extends SinglePartElement implements Printable, 
     FormEvents, PageEvents, FocusEvents, MouseEvents, KeyEvents
   {
  +    /**A type of &lt;input&gt;. Use this to set the type attribute.*/
       public static final String TEXT = "TEXT";
  +    /**A type of &lt;input&gt;. Use this to set the type attribute.*/
       public static final String PASSWORD = "PASSWORD";
  +    /**A type of &lt;input&gt;. Use this to set the type attribute.*/
       public static final String CHECKBOX = "CHECKBOX";
  +    /**A type of &lt;input&gt;. Use this to set the type attribute.*/
       public static final String RADIO = "RADIO";
  +    /**A type of &lt;input&gt;. Use this to set the type attribute.*/
       public static final String FILE = "FILE";
  +    /**A type of &lt;input&gt;. Use this to set the type attribute.*/
       public static final String BUTTON = "BUTTON";
  +    /**A type of &lt;input&gt;. Use this to set the type attribute.*/
       public static final String IMAGE = "IMAGE";
  +    /**A type of &lt;input&gt;. Use this to set the type attribute.*/
       public static final String HIDDEN = "HIDDEN";
  +    /**A type of &lt;input&gt;. Use this to set the type attribute.*/
       public static final String SUBMIT = "SUBMIT";
  +    /**A type of &lt;input&gt;. Use this to set the type attribute.*/
       public static final String RESET = "RESET";
  -
  +    
  +    /**A type of &lt;input&gt;. Use this to set the type attribute.*/
       public static final String text = "text";
  +    /**A type of &lt;input&gt;. Use this to set the type attribute.*/
       public static final String password = "password";
  +    /**A type of &lt;input&gt;. Use this to set the type attribute.*/
       public static final String checkbox = "checkbox";
  +    /**A type of &lt;input&gt;. Use this to set the type attribute.*/
       public static final String radio = "radio";
  +    /**A type of &lt;input&gt;. Use this to set the type attribute.*/
       public static final String file = "file";
  +    /**A type of &lt;input&gt;. Use this to set the type attribute.*/
       public static final String button = "button";
  +    /**A type of &lt;input&gt;. Use this to set the type attribute.*/
       public static final String image = "image";
  +    /**A type of &lt;input&gt;. Use this to set the type attribute.*/
       public static final String hidden = "hidden";
  +    /**A type of &lt;input&gt;. Use this to set the type attribute.*/
       public static final String submit = "submit";
  +    /**A type of &lt;input&gt;. Use this to set the type attribute.*/
       public static final String reset = "reset";
   
       /**
  @@ -101,9 +121,15 @@
       {
       }
       
  +
       /**
  -        Basic constructor. Use the set* methods to set the values
  -        of the attributes.
  +        Constructor sets the type, name and value attributes. 
  +        Use the set* methods to set the values
  +        of the other attributes.
  +        
  +        @param type used to set type attribute
  +        @param name used to set name attribute
  +        @param value used to set value attribute
       */
       public Input(String type, String name, String value)
       {
  @@ -113,8 +139,13 @@
       }
   
       /**
  -        Basic constructor. Use the set* methods to set the values
  -        of the attributes.
  +        Constructor sets the type, name and value attributes. 
  +        Use the set* methods to set the values
  +        of the other attributes.
  +        
  +        @param type used to set type attribute
  +        @param name used to set name attribute
  +        @param value used to set value attribute
       */
       public Input(String type, String name, int value)
       {
  @@ -124,8 +155,13 @@
       }
   
       /**
  -        Basic constructor. Use the set* methods to set the values
  -        of the attributes.
  +        Constructor sets the type, name and value attributes. 
  +        Use the set* methods to set the values
  +        of the other attributes.
  +        
  +        @param type used to set type attribute
  +        @param name used to set name attribute
  +        @param value used to set value attribute
       */
       public Input(String type, String name, Integer value)
       {
  @@ -135,8 +171,13 @@
       }
   
       /**
  -        Basic constructor. Use the set* methods to set the values
  -        of the attributes.
  +        Constructor sets the type, name and value attributes. 
  +        Use the set* methods to set the values
  +        of the other attributes.
  +        
  +        @param type used to set type attribute
  +        @param name used to set name attribute
  +        @param value used to set value attribute
       */
       public Input(String type, String name, double value)
       {
  
  
  

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


Mime
View raw message