Coverage Report - org.kuali.rice.krad.uif.control.FileControl
 
Classes in this File Line Coverage Branch Coverage Complexity
FileControl
0%
0/5
N/A
1
 
 1  
 /*
 2  
  * Copyright 2007 The Kuali Foundation
 3  
  *
 4  
  * Licensed under the Educational Community License, Version 1.0 (the "License");
 5  
  * you may not use this file except in compliance with the License.
 6  
  * You may obtain a copy of the License at
 7  
  *
 8  
  * http://www.opensource.org/licenses/ecl1.php
 9  
  *
 10  
  * Unless required by applicable law or agreed to in writing, software
 11  
  * distributed under the License is distributed on an "AS IS" BASIS,
 12  
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 13  
  * See the License for the specific language governing permissions and
 14  
  * limitations under the License.
 15  
  */
 16  
 package org.kuali.rice.krad.uif.control;
 17  
 
 18  
 /**
 19  
  * Represents a HTML File control, generally rendered as an input control with
 20  
  * type 'file'. Allows user to upload a file to the application
 21  
  * 
 22  
  * @author Kuali Rice Team (rice.collab@kuali.org)
 23  
  */
 24  
 public class FileControl extends ControlBase {
 25  
         private static final long serialVersionUID = -5919326390841646189L;
 26  
         
 27  
         private int size;
 28  
 
 29  0
         public FileControl() {
 30  
 
 31  0
         }
 32  
 
 33  
         /**
 34  
          * Horizontal display size of the control (in number of characters)
 35  
          * 
 36  
          * @return int size
 37  
          */
 38  
         public int getSize() {
 39  0
                 return this.size;
 40  
         }
 41  
 
 42  
         public void setSize(int size) {
 43  0
                 this.size = size;
 44  0
         }
 45  
 
 46  
 }