Coverage Report - javax.faces.component.html.HtmlSelectOneRadio
 
Classes in this File Line Coverage Branch Coverage Complexity
HtmlSelectOneRadio
0%
0/128
N/A
1
HtmlSelectOneRadio$PropertyKeys
0%
0/30
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 javax.faces.component.html;
 20  
 
 21  
 import javax.faces.el.ValueBinding;
 22  
 import javax.el.ValueExpression;
 23  
 import javax.faces.context.FacesContext;
 24  
 import javax.faces.component.UIComponent;
 25  
 import javax.faces.convert.Converter;
 26  
 import javax.faces.el.MethodBinding;
 27  
 
 28  
 
 29  
 // Generated from class javax.faces.component.html._HtmlSelectOneRadio.
 30  
 //
 31  
 // WARNING: This file was automatically generated. Do not edit it directly,
 32  
 //          or you will lose your changes.
 33  
 public class HtmlSelectOneRadio extends javax.faces.component.UISelectOne
 34  
     implements javax.faces.component.behavior.ClientBehaviorHolder
 35  
 {
 36  
 
 37  
     static public final String COMPONENT_FAMILY =
 38  
         "javax.faces.SelectOne";
 39  
     static public final String COMPONENT_TYPE =
 40  
         "javax.faces.HtmlSelectOneRadio";
 41  
 
 42  
 
 43  
     public HtmlSelectOneRadio()
 44  0
     {
 45  0
         setRendererType("javax.faces.Radio");
 46  0
     }
 47  
 
 48  
     @Override    
 49  
     public String getFamily()
 50  
     {
 51  0
         return COMPONENT_FAMILY;
 52  
     }
 53  
 
 54  
 
 55  0
     static private final java.util.Collection<String> CLIENT_EVENTS_LIST = 
 56  
         java.util.Collections.unmodifiableCollection(
 57  
             java.util.Arrays.asList(
 58  
              "blur"
 59  
             , "focus"
 60  
             , "click"
 61  
             , "dblclick"
 62  
             , "keydown"
 63  
             , "keypress"
 64  
             , "keyup"
 65  
             , "mousedown"
 66  
             , "mousemove"
 67  
             , "mouseout"
 68  
             , "mouseover"
 69  
             , "mouseup"
 70  
             , "change"
 71  
             , "select"
 72  
             , "valueChange"
 73  
         ));
 74  
 
 75  
     public java.util.Collection<String> getEventNames()
 76  
     {
 77  0
         return CLIENT_EVENTS_LIST;
 78  
     }
 79  
 
 80  
     @Override
 81  
     public void addClientBehavior(String eventName, javax.faces.component.behavior.ClientBehavior behavior)
 82  
     {
 83  0
         super.addClientBehavior(eventName, behavior);
 84  0
         _CommonEventConstants.markEvent(this, eventName);
 85  0
     }
 86  
 
 87  
     //ClientBehaviorHolder default: valueChange
 88  
     public String getDefaultEventName()
 89  
     {
 90  0
         return "valueChange";
 91  
     }
 92  
 
 93  
     
 94  
     // Property: border
 95  
 
 96  
     public int getBorder()
 97  
     {
 98  0
         return (Integer) getStateHelper().eval(PropertyKeys.border, Integer.MIN_VALUE);
 99  
     }
 100  
     
 101  
     public void setBorder(int border)
 102  
     {
 103  0
         getStateHelper().put(PropertyKeys.border, border ); 
 104  0
     }
 105  
     // Property: layout
 106  
 
 107  
     public String getLayout()
 108  
     {
 109  0
         return (String) getStateHelper().eval(PropertyKeys.layout);
 110  
     }
 111  
     
 112  
     public void setLayout(String layout)
 113  
     {
 114  0
         getStateHelper().put(PropertyKeys.layout, layout ); 
 115  0
     }
 116  
     // Property: label
 117  
 
 118  
     public String getLabel()
 119  
     {
 120  0
         return (String) getStateHelper().eval(PropertyKeys.label);
 121  
     }
 122  
     
 123  
     public void setLabel(String label)
 124  
     {
 125  0
         getStateHelper().put(PropertyKeys.label, label ); 
 126  0
         _CommonPropertyConstants.markProperty(this, _CommonPropertyConstants.LABEL_PROP);
 127  0
     }
 128  
     // Property: style
 129  
 
 130  
     public String getStyle()
 131  
     {
 132  0
         return (String) getStateHelper().eval(PropertyKeys.style);
 133  
     }
 134  
     
 135  
     public void setStyle(String style)
 136  
     {
 137  0
         getStateHelper().put(PropertyKeys.style, style ); 
 138  0
         _CommonPropertyConstants.markProperty(this, _CommonPropertyConstants.STYLE_PROP);
 139  0
     }
 140  
     // Property: styleClass
 141  
 
 142  
     public String getStyleClass()
 143  
     {
 144  0
         return (String) getStateHelper().eval(PropertyKeys.styleClass);
 145  
     }
 146  
     
 147  
     public void setStyleClass(String styleClass)
 148  
     {
 149  0
         getStateHelper().put(PropertyKeys.styleClass, styleClass ); 
 150  0
         _CommonPropertyConstants.markProperty(this, _CommonPropertyConstants.STYLECLASS_PROP);
 151  0
     }
 152  
     // Property: tabindex
 153  
 
 154  
     public String getTabindex()
 155  
     {
 156  0
         return (String) getStateHelper().eval(PropertyKeys.tabindex);
 157  
     }
 158  
     
 159  
     public void setTabindex(String tabindex)
 160  
     {
 161  0
         getStateHelper().put(PropertyKeys.tabindex, tabindex ); 
 162  0
         _CommonPropertyConstants.markProperty(this, _CommonPropertyConstants.TABINDEX_PROP);
 163  0
     }
 164  
     // Property: onblur
 165  
 
 166  
     public String getOnblur()
 167  
     {
 168  0
         return (String) getStateHelper().eval(PropertyKeys.onblur);
 169  
     }
 170  
     
 171  
     public void setOnblur(String onblur)
 172  
     {
 173  0
         getStateHelper().put(PropertyKeys.onblur, onblur ); 
 174  0
         _CommonPropertyConstants.markProperty(this, _CommonPropertyConstants.ONBLUR_PROP);
 175  0
     }
 176  
     // Property: onfocus
 177  
 
 178  
     public String getOnfocus()
 179  
     {
 180  0
         return (String) getStateHelper().eval(PropertyKeys.onfocus);
 181  
     }
 182  
     
 183  
     public void setOnfocus(String onfocus)
 184  
     {
 185  0
         getStateHelper().put(PropertyKeys.onfocus, onfocus ); 
 186  0
         _CommonPropertyConstants.markProperty(this, _CommonPropertyConstants.ONFOCUS_PROP);
 187  0
     }
 188  
     // Property: disabledClass
 189  
 
 190  
     public String getDisabledClass()
 191  
     {
 192  0
         return (String) getStateHelper().eval(PropertyKeys.disabledClass);
 193  
     }
 194  
     
 195  
     public void setDisabledClass(String disabledClass)
 196  
     {
 197  0
         getStateHelper().put(PropertyKeys.disabledClass, disabledClass ); 
 198  0
     }
 199  
     // Property: enabledClass
 200  
 
 201  
     public String getEnabledClass()
 202  
     {
 203  0
         return (String) getStateHelper().eval(PropertyKeys.enabledClass);
 204  
     }
 205  
     
 206  
     public void setEnabledClass(String enabledClass)
 207  
     {
 208  0
         getStateHelper().put(PropertyKeys.enabledClass, enabledClass ); 
 209  0
     }
 210  
     // Property: accesskey
 211  
 
 212  
     public String getAccesskey()
 213  
     {
 214  0
         return (String) getStateHelper().eval(PropertyKeys.accesskey);
 215  
     }
 216  
     
 217  
     public void setAccesskey(String accesskey)
 218  
     {
 219  0
         getStateHelper().put(PropertyKeys.accesskey, accesskey ); 
 220  0
         _CommonPropertyConstants.markProperty(this, _CommonPropertyConstants.ACCESSKEY_PROP);
 221  0
     }
 222  
     // Property: role
 223  
 
 224  
     public String getRole()
 225  
     {
 226  0
         return (String) getStateHelper().eval(PropertyKeys.role);
 227  
     }
 228  
     
 229  
     public void setRole(String role)
 230  
     {
 231  0
         getStateHelper().put(PropertyKeys.role, role ); 
 232  0
         _CommonPropertyConstants.markProperty(this, _CommonPropertyConstants.ROLE_PROP);
 233  0
     }
 234  
     // Property: onclick
 235  
 
 236  
     public String getOnclick()
 237  
     {
 238  0
         return (String) getStateHelper().eval(PropertyKeys.onclick);
 239  
     }
 240  
     
 241  
     public void setOnclick(String onclick)
 242  
     {
 243  0
         getStateHelper().put(PropertyKeys.onclick, onclick ); 
 244  0
         _CommonPropertyConstants.markProperty(this, _CommonPropertyConstants.ONCLICK_PROP);
 245  0
     }
 246  
     // Property: ondblclick
 247  
 
 248  
     public String getOndblclick()
 249  
     {
 250  0
         return (String) getStateHelper().eval(PropertyKeys.ondblclick);
 251  
     }
 252  
     
 253  
     public void setOndblclick(String ondblclick)
 254  
     {
 255  0
         getStateHelper().put(PropertyKeys.ondblclick, ondblclick ); 
 256  0
         _CommonPropertyConstants.markProperty(this, _CommonPropertyConstants.ONDBLCLICK_PROP);
 257  0
     }
 258  
     // Property: onkeydown
 259  
 
 260  
     public String getOnkeydown()
 261  
     {
 262  0
         return (String) getStateHelper().eval(PropertyKeys.onkeydown);
 263  
     }
 264  
     
 265  
     public void setOnkeydown(String onkeydown)
 266  
     {
 267  0
         getStateHelper().put(PropertyKeys.onkeydown, onkeydown ); 
 268  0
         _CommonPropertyConstants.markProperty(this, _CommonPropertyConstants.ONKEYDOWN_PROP);
 269  0
     }
 270  
     // Property: onkeypress
 271  
 
 272  
     public String getOnkeypress()
 273  
     {
 274  0
         return (String) getStateHelper().eval(PropertyKeys.onkeypress);
 275  
     }
 276  
     
 277  
     public void setOnkeypress(String onkeypress)
 278  
     {
 279  0
         getStateHelper().put(PropertyKeys.onkeypress, onkeypress ); 
 280  0
         _CommonPropertyConstants.markProperty(this, _CommonPropertyConstants.ONKEYPRESS_PROP);
 281  0
     }
 282  
     // Property: onkeyup
 283  
 
 284  
     public String getOnkeyup()
 285  
     {
 286  0
         return (String) getStateHelper().eval(PropertyKeys.onkeyup);
 287  
     }
 288  
     
 289  
     public void setOnkeyup(String onkeyup)
 290  
     {
 291  0
         getStateHelper().put(PropertyKeys.onkeyup, onkeyup ); 
 292  0
         _CommonPropertyConstants.markProperty(this, _CommonPropertyConstants.ONKEYUP_PROP);
 293  0
     }
 294  
     // Property: onmousedown
 295  
 
 296  
     public String getOnmousedown()
 297  
     {
 298  0
         return (String) getStateHelper().eval(PropertyKeys.onmousedown);
 299  
     }
 300  
     
 301  
     public void setOnmousedown(String onmousedown)
 302  
     {
 303  0
         getStateHelper().put(PropertyKeys.onmousedown, onmousedown ); 
 304  0
         _CommonPropertyConstants.markProperty(this, _CommonPropertyConstants.ONMOUSEDOWN_PROP);
 305  0
     }
 306  
     // Property: onmousemove
 307  
 
 308  
     public String getOnmousemove()
 309  
     {
 310  0
         return (String) getStateHelper().eval(PropertyKeys.onmousemove);
 311  
     }
 312  
     
 313  
     public void setOnmousemove(String onmousemove)
 314  
     {
 315  0
         getStateHelper().put(PropertyKeys.onmousemove, onmousemove ); 
 316  0
         _CommonPropertyConstants.markProperty(this, _CommonPropertyConstants.ONMOUSEMOVE_PROP);
 317  0
     }
 318  
     // Property: onmouseout
 319  
 
 320  
     public String getOnmouseout()
 321  
     {
 322  0
         return (String) getStateHelper().eval(PropertyKeys.onmouseout);
 323  
     }
 324  
     
 325  
     public void setOnmouseout(String onmouseout)
 326  
     {
 327  0
         getStateHelper().put(PropertyKeys.onmouseout, onmouseout ); 
 328  0
         _CommonPropertyConstants.markProperty(this, _CommonPropertyConstants.ONMOUSEOUT_PROP);
 329  0
     }
 330  
     // Property: onmouseover
 331  
 
 332  
     public String getOnmouseover()
 333  
     {
 334  0
         return (String) getStateHelper().eval(PropertyKeys.onmouseover);
 335  
     }
 336  
     
 337  
     public void setOnmouseover(String onmouseover)
 338  
     {
 339  0
         getStateHelper().put(PropertyKeys.onmouseover, onmouseover ); 
 340  0
         _CommonPropertyConstants.markProperty(this, _CommonPropertyConstants.ONMOUSEOVER_PROP);
 341  0
     }
 342  
     // Property: onmouseup
 343  
 
 344  
     public String getOnmouseup()
 345  
     {
 346  0
         return (String) getStateHelper().eval(PropertyKeys.onmouseup);
 347  
     }
 348  
     
 349  
     public void setOnmouseup(String onmouseup)
 350  
     {
 351  0
         getStateHelper().put(PropertyKeys.onmouseup, onmouseup ); 
 352  0
         _CommonPropertyConstants.markProperty(this, _CommonPropertyConstants.ONMOUSEUP_PROP);
 353  0
     }
 354  
     // Property: onchange
 355  
 
 356  
     public String getOnchange()
 357  
     {
 358  0
         return (String) getStateHelper().eval(PropertyKeys.onchange);
 359  
     }
 360  
     
 361  
     public void setOnchange(String onchange)
 362  
     {
 363  0
         getStateHelper().put(PropertyKeys.onchange, onchange ); 
 364  0
         _CommonPropertyConstants.markProperty(this, _CommonPropertyConstants.ONCHANGE_PROP);
 365  0
     }
 366  
     // Property: onselect
 367  
 
 368  
     public String getOnselect()
 369  
     {
 370  0
         return (String) getStateHelper().eval(PropertyKeys.onselect);
 371  
     }
 372  
     
 373  
     public void setOnselect(String onselect)
 374  
     {
 375  0
         getStateHelper().put(PropertyKeys.onselect, onselect ); 
 376  0
         _CommonPropertyConstants.markProperty(this, _CommonPropertyConstants.ONSELECT_PROP);
 377  0
     }
 378  
     // Property: dir
 379  
 
 380  
     public String getDir()
 381  
     {
 382  0
         return (String) getStateHelper().eval(PropertyKeys.dir);
 383  
     }
 384  
     
 385  
     public void setDir(String dir)
 386  
     {
 387  0
         getStateHelper().put(PropertyKeys.dir, dir ); 
 388  0
         _CommonPropertyConstants.markProperty(this, _CommonPropertyConstants.DIR_PROP);
 389  0
     }
 390  
     // Property: lang
 391  
 
 392  
     public String getLang()
 393  
     {
 394  0
         return (String) getStateHelper().eval(PropertyKeys.lang);
 395  
     }
 396  
     
 397  
     public void setLang(String lang)
 398  
     {
 399  0
         getStateHelper().put(PropertyKeys.lang, lang ); 
 400  0
         _CommonPropertyConstants.markProperty(this, _CommonPropertyConstants.LANG_PROP);
 401  0
     }
 402  
     // Property: title
 403  
 
 404  
     public String getTitle()
 405  
     {
 406  0
         return (String) getStateHelper().eval(PropertyKeys.title);
 407  
     }
 408  
     
 409  
     public void setTitle(String title)
 410  
     {
 411  0
         getStateHelper().put(PropertyKeys.title, title ); 
 412  0
         _CommonPropertyConstants.markProperty(this, _CommonPropertyConstants.TITLE_PROP);
 413  0
     }
 414  
     // Property: disabled
 415  
 
 416  
     public boolean isDisabled()
 417  
     {
 418  0
         return (Boolean) getStateHelper().eval(PropertyKeys.disabled, false);
 419  
     }
 420  
     
 421  
     public void setDisabled(boolean disabled)
 422  
     {
 423  0
         getStateHelper().put(PropertyKeys.disabled, disabled ); 
 424  0
         _CommonPropertyConstants.markProperty(this, _CommonPropertyConstants.DISABLED_PROP);
 425  0
     }
 426  
     // Property: readonly
 427  
 
 428  
     public boolean isReadonly()
 429  
     {
 430  0
         return (Boolean) getStateHelper().eval(PropertyKeys.readonly, false);
 431  
     }
 432  
     
 433  
     public void setReadonly(boolean readonly)
 434  
     {
 435  0
         getStateHelper().put(PropertyKeys.readonly, readonly ); 
 436  0
         _CommonPropertyConstants.markProperty(this, _CommonPropertyConstants.READONLY_PROP);
 437  0
     }
 438  
 
 439  
     public void setValueBinding(String name, ValueBinding binding)
 440  
     {
 441  0
         super.setValueBinding(name, binding);
 442  0
         _CommonPropertyConstants.markProperty(this, name);
 443  0
     }
 444  
 
 445  
     public void setValueExpression(String name, ValueExpression expression)
 446  
     {
 447  0
         super.setValueExpression(name, expression);
 448  0
         _CommonPropertyConstants.markProperty(this, name);
 449  0
     }
 450  
 
 451  0
     protected enum PropertyKeys
 452  
     {
 453  0
          border
 454  0
         , layout
 455  0
         , label
 456  0
         , style
 457  0
         , styleClass
 458  0
         , tabindex
 459  0
         , onblur
 460  0
         , onfocus
 461  0
         , disabledClass
 462  0
         , enabledClass
 463  0
         , accesskey
 464  0
         , role
 465  0
         , onclick
 466  0
         , ondblclick
 467  0
         , onkeydown
 468  0
         , onkeypress
 469  0
         , onkeyup
 470  0
         , onmousedown
 471  0
         , onmousemove
 472  0
         , onmouseout
 473  0
         , onmouseover
 474  0
         , onmouseup
 475  0
         , onchange
 476  0
         , onselect
 477  0
         , dir
 478  0
         , lang
 479  0
         , title
 480  0
         , disabled
 481  0
         , readonly
 482  
     }
 483  
 
 484  
  }