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 Sun, 03 Jun 2001 10:10:28 GMT
rdonkin     01/06/03 03:10:28

  Modified:    src/java/org/apache/ecs/html Input.java
  Log:
  Added more constuctors
  
  Revision  Changes    Path
  1.8       +27 -2     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.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- Input.java	2001/04/07 09:14:47	1.7
  +++ Input.java	2001/06/03 10:10:27	1.8
  @@ -57,7 +57,7 @@
   /**
       This class creates a <Input> tag.
   
  -    @version $Id: Input.java,v 1.7 2001/04/07 09:14:47 rdonkin Exp $
  +    @version $Id: Input.java,v 1.8 2001/06/03 10:10:27 rdonkin Exp $
       @author <a href="mailto:snagy@servletapi.com">Stephan Nagy</a>
       @author <a href="mailto:jon@clearink.com">Jon S. Stevens</a>
   */
  @@ -120,7 +120,32 @@
       public Input()
       {
       }
  -    
  +
  +    /**
  +        Constructor sets the type attributes. 
  +        Use the set* methods to set the values
  +        of the other attributes.
  +        
  +        @param type used to set type attribute
  +    */
  +    public Input(String type)
  +    {
  +        setType(type);
  +    }
  +
  +    /**
  +        Constructor sets the type and name 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
  +    */
  +    public Input(String type, String name)
  +    {
  +        setType(type);
  +        setName(name);
  +    }
   
       /**
           Constructor sets the type, name and value attributes. 
  
  
  

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