Coverage Report - org.apache.myfaces.shared_impl.taglib.html.HtmlSelectBooleanCheckboxTagBase
 
Classes in this File Line Coverage Branch Coverage Complexity
HtmlSelectBooleanCheckboxTagBase
0%
0/54
N/A
1
 
 1  
 /*
 2  
  *  Licensed to the Apache Software Foundation (ASF) under one
 3  
  *  or more contributor license agreements.  See the NOTICE file
 4  
  *  distributed with this work for additional information
 5  
  *  regarding copyright ownership.  The ASF licenses this file
 6  
  *  to you under the Apache License, Version 2.0 (the
 7  
  *  "License"); you may not use this file except in compliance
 8  
  *  with the License.  You may obtain a copy of the License at
 9  
  * 
 10  
  *  http://www.apache.org/licenses/LICENSE-2.0
 11  
  * 
 12  
  *  Unless required by applicable law or agreed to in writing,
 13  
  *  software distributed under the License is distributed on an
 14  
  *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 15  
  *  KIND, either express or implied.  See the License for the
 16  
  *  specific language governing permissions and limitations
 17  
  *  under the License.
 18  
  */
 19  
 package org.apache.myfaces.shared_impl.taglib.html;
 20  
 
 21  
 import javax.faces.component.UIComponent;
 22  
 
 23  
 
 24  
 /**
 25  
  * @author Manfred Geiler (latest modification by $Author: cagatay $)
 26  
  * @author Martin Marinschek
 27  
  * @version $Revision: 606793 $ $Date: 2007-12-25 10:20:46 -0500 (Tue, 25 Dec 2007) $
 28  
  * @deprecated use {@link HtmlSelectBooleanCheckboxELTagBase} instead
 29  
  */
 30  0
 public abstract class HtmlSelectBooleanCheckboxTagBase
 31  
         extends org.apache.myfaces.shared_impl.taglib.html.HtmlInputTagBase
 32  
 {
 33  
     // UIComponent attributes --> already implemented in UIComponentTagBase
 34  
 
 35  
     // user role attributes --> already implemented in UIComponentTagBase
 36  
 
 37  
     // HTML universal attributes --> already implemented in HtmlComponentTagBase
 38  
 
 39  
     // HTML event handler attributes --> already implemented in HtmlComponentTagBase
 40  
 
 41  
     // HTML input attributes relevant for checkbox-input
 42  
     private String _accesskey;
 43  
     private String _alt;
 44  
     private String _checked;
 45  
     private String _datafld;
 46  
     private String _datasrc;
 47  
     private String _dataformatas;
 48  
     private String _disabled;
 49  
     private String _onblur;
 50  
     private String _onchange;
 51  
     private String _onfocus;
 52  
     private String _onselect;
 53  
     private String _readonly;
 54  
     private String _tabindex;
 55  
 
 56  
     // UIInput attributes
 57  
     // --> already implemented in HtmlInputTagBase
 58  
 
 59  
     // UISelectBoolean attributes
 60  
     //private String _selected; //is already covered by checked attribute
 61  
 
 62  
     public void release() {
 63  0
         super.release();
 64  0
         _accesskey=null;
 65  0
         _alt=null;
 66  0
         _checked=null;
 67  0
         _datafld=null;
 68  0
         _datasrc=null;
 69  0
         _dataformatas=null;
 70  0
         _disabled=null;
 71  0
         _onblur=null;
 72  0
         _onchange=null;
 73  0
         _onfocus=null;
 74  0
         _onselect=null;
 75  0
         _readonly=null;
 76  0
         _tabindex=null;
 77  0
     }
 78  
 
 79  
     protected void setProperties(UIComponent component)
 80  
     {
 81  0
         super.setProperties(component);
 82  
 
 83  0
         setStringProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.ACCESSKEY_ATTR, _accesskey);
 84  0
         setStringProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.ALT_ATTR, _alt);
 85  0
         setBooleanProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.CHECKED_ATTR, _checked);
 86  0
         setBooleanProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.DISABLED_ATTR, _disabled);
 87  0
         setStringProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.ONBLUR_ATTR, _onblur);
 88  0
         setStringProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.ONCHANGE_ATTR, _onchange);
 89  0
         setStringProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.ONFOCUS_ATTR, _onfocus);
 90  0
         setStringProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.ONSELECT_ATTR, _onselect);
 91  0
         setBooleanProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.READONLY_ATTR, _readonly);
 92  0
         setStringProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.TABINDEX_ATTR, _tabindex);
 93  0
    }
 94  
 
 95  
     public void setAccesskey(String accesskey)
 96  
     {
 97  0
         _accesskey = accesskey;
 98  0
     }
 99  
 
 100  
     public void setAlt(String alt)
 101  
     {
 102  0
         _alt = alt;
 103  0
     }
 104  
 
 105  
     public void setChecked(String checked)
 106  
     {
 107  0
         _checked = checked;
 108  0
     }
 109  
 
 110  
     public void setDatafld(String datafld)
 111  
     {
 112  0
         _datafld = datafld;
 113  0
     }
 114  
 
 115  
     public void setDatasrc(String datasrc)
 116  
     {
 117  0
         _datasrc = datasrc;
 118  0
     }
 119  
 
 120  
     public void setDataformatas(String dataformatas)
 121  
     {
 122  0
         _dataformatas = dataformatas;
 123  0
     }
 124  
 
 125  
     public void setDisabled(String disabled)
 126  
     {
 127  0
         _disabled = disabled;
 128  0
     }
 129  
 
 130  
     public void setOnblur(String onblur)
 131  
     {
 132  0
         _onblur = onblur;
 133  0
     }
 134  
 
 135  
     public void setOnchange(String onchange)
 136  
     {
 137  0
         _onchange = onchange;
 138  0
     }
 139  
 
 140  
     public void setOnfocus(String onfocus)
 141  
     {
 142  0
         _onfocus = onfocus;
 143  0
     }
 144  
 
 145  
     public void setOnselect(String onselect)
 146  
     {
 147  0
         _onselect = onselect;
 148  0
     }
 149  
 
 150  
     public void setReadonly(String readonly)
 151  
     {
 152  0
         _readonly = readonly;
 153  0
     }
 154  
 
 155  
     public void setTabindex(String tabindex)
 156  
     {
 157  0
         _tabindex = tabindex;
 158  0
     }
 159  
 
 160  
 }