Coverage Report - javax.faces.component.html.HtmlPanelGroup
 
Classes in this File Line Coverage Branch Coverage Complexity
HtmlPanelGroup
0%
0/40
0%
0/12
0
 
 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.el.ValueExpression;
 22  
 import javax.faces.context.FacesContext;
 23  
 import javax.faces.component.UIComponent;
 24  
 
 25  
 
 26  
 // Generated from class javax.faces.component.html._HtmlPanelGroup.
 27  
 //
 28  
 // WARNING: This file was automatically generated. Do not edit it directly,
 29  
 //          or you will lose your changes.
 30  
 public class HtmlPanelGroup extends javax.faces.component.UIPanel
 31  
 {
 32  
 
 33  
     static public final String COMPONENT_FAMILY =
 34  
         "javax.faces.Panel";
 35  
     static public final String COMPONENT_TYPE =
 36  
         "javax.faces.HtmlPanelGroup";
 37  
 
 38  
 
 39  
     public HtmlPanelGroup()
 40  0
     {
 41  0
         setRendererType("javax.faces.Group");
 42  0
     }
 43  
 
 44  
     @Override    
 45  
     public String getFamily()
 46  
     {
 47  0
         return COMPONENT_FAMILY;
 48  
     }
 49  
     
 50  
 
 51  
     // Property: layout
 52  
     private String _layout;
 53  
     
 54  
     public String getLayout()
 55  
     {
 56  0
         if (_layout != null)
 57  
         {
 58  0
             return _layout;
 59  
         }
 60  0
         ValueExpression vb = getValueExpression("layout");
 61  0
         if (vb != null)
 62  
         {
 63  0
             return (String) vb.getValue(getFacesContext().getELContext());
 64  
         }
 65  0
         return null;
 66  
     }
 67  
 
 68  
     public void setLayout(String layout)
 69  
     {
 70  0
         this._layout = layout;
 71  0
     }
 72  
     // Property: style
 73  
     private String _style;
 74  
     
 75  
     public String getStyle()
 76  
     {
 77  0
         if (_style != null)
 78  
         {
 79  0
             return _style;
 80  
         }
 81  0
         ValueExpression vb = getValueExpression("style");
 82  0
         if (vb != null)
 83  
         {
 84  0
             return (String) vb.getValue(getFacesContext().getELContext());
 85  
         }
 86  0
         return null;
 87  
     }
 88  
 
 89  
     public void setStyle(String style)
 90  
     {
 91  0
         this._style = style;
 92  0
     }
 93  
     // Property: styleClass
 94  
     private String _styleClass;
 95  
     
 96  
     public String getStyleClass()
 97  
     {
 98  0
         if (_styleClass != null)
 99  
         {
 100  0
             return _styleClass;
 101  
         }
 102  0
         ValueExpression vb = getValueExpression("styleClass");
 103  0
         if (vb != null)
 104  
         {
 105  0
             return (String) vb.getValue(getFacesContext().getELContext());
 106  
         }
 107  0
         return null;
 108  
     }
 109  
 
 110  
     public void setStyleClass(String styleClass)
 111  
     {
 112  0
         this._styleClass = styleClass;
 113  0
     }
 114  
 
 115  
     @Override
 116  
     public Object saveState(FacesContext facesContext)
 117  
     {
 118  0
         Object[] values = new Object[4];
 119  0
         values[0] = super.saveState(facesContext);
 120  0
         values[1] = _layout;
 121  0
         values[2] = _style;
 122  0
         values[3] = _styleClass;
 123  0
         return values; 
 124  
     }
 125  
 
 126  
     @Override
 127  
     public void restoreState(FacesContext facesContext, Object state)
 128  
     {
 129  0
         Object[] values = (Object[])state;
 130  0
         super.restoreState(facesContext,values[0]);
 131  0
         _layout = (java.lang.String) values[1];
 132  0
         _style = (java.lang.String) values[2];
 133  0
         _styleClass = (java.lang.String) values[3];
 134  0
     }
 135  
 }