Coverage Report - org.kuali.rice.kns.uif.control.ControlBase
 
Classes in this File Line Coverage Branch Coverage Complexity
ControlBase
0%
0/11
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.kns.uif.control;
 17  
 
 18  
 import org.kuali.rice.kns.uif.core.ComponentBase;
 19  
 
 20  
 /**
 21  
  * Base class for all <code>Control</code> implementations
 22  
  * 
 23  
  * @author Kuali Rice Team (rice.collab@kuali.org)
 24  
  * 
 25  
  * @see org.kuali.rice.kns.uif.control.Control
 26  
  */
 27  
 public abstract class ControlBase extends ComponentBase implements Control {
 28  
         private static final long serialVersionUID = -7898244978136312663L;
 29  
         
 30  
         private int tabIndex;
 31  
 
 32  
         public ControlBase() {
 33  0
       super();
 34  0
         }
 35  
 
 36  
         /**
 37  
          * @see org.kuali.rice.kns.uif.core.Component#getComponentTypeName()
 38  
          */
 39  
         @Override
 40  
         public final String getComponentTypeName() {
 41  0
                 return "control";
 42  
         }
 43  
 
 44  
         public int getTabIndex() {
 45  0
                 return this.tabIndex;
 46  
         }
 47  
 
 48  
         public void setTabIndex(int tabIndex) {
 49  0
                 this.tabIndex = tabIndex;
 50  0
         }
 51  
 
 52  
     @Override
 53  
     public boolean getSupportsOnChange() {
 54  0
         return true;
 55  
     }
 56  
 
 57  
     @Override
 58  
     public boolean getSupportsOnBlur() {
 59  0
         return true;
 60  
     }
 61  
 
 62  
     @Override
 63  
     public boolean getSupportsOnClick() {
 64  0
         return true;
 65  
     }
 66  
 
 67  
     @Override
 68  
     public boolean getSupportsOnDblClick() {
 69  0
         return true;
 70  
     }
 71  
 
 72  
     @Override
 73  
     public boolean getSupportsOnFocus() {
 74  0
         return true;
 75  
     }
 76  
 }