View Javadoc

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  
26  
27  // Generated from class javax.faces.component.html._HtmlColumn.
28  //
29  // WARNING: This file was automatically generated. Do not edit it directly,
30  //          or you will lose your changes.
31  public class HtmlColumn extends javax.faces.component.UIColumn
32  {
33  
34      static public final String COMPONENT_FAMILY =
35          "javax.faces.Column";
36      static public final String COMPONENT_TYPE =
37          "javax.faces.HtmlColumn";
38  
39  
40      public HtmlColumn()
41      {
42          setRendererType(null);
43      }
44  
45      @Override    
46      public String getFamily()
47      {
48          return COMPONENT_FAMILY;
49      }
50  
51  
52  
53      
54      // Property: headerClass
55  
56      public String getHeaderClass()
57      {
58          return (String) getStateHelper().eval(PropertyKeys.headerClass);
59      }
60      
61      public void setHeaderClass(String headerClass)
62      {
63          getStateHelper().put(PropertyKeys.headerClass, headerClass ); 
64      }
65      // Property: footerClass
66  
67      public String getFooterClass()
68      {
69          return (String) getStateHelper().eval(PropertyKeys.footerClass);
70      }
71      
72      public void setFooterClass(String footerClass)
73      {
74          getStateHelper().put(PropertyKeys.footerClass, footerClass ); 
75      }
76      // Property: rowHeader
77  
78      public boolean isRowHeader()
79      {
80          return (Boolean) getStateHelper().eval(PropertyKeys.rowHeader, false);
81      }
82      
83      public void setRowHeader(boolean rowHeader)
84      {
85          getStateHelper().put(PropertyKeys.rowHeader, rowHeader ); 
86      }
87  
88  
89      protected enum PropertyKeys
90      {
91           headerClass
92          , footerClass
93          , rowHeader
94      }
95  
96   }