Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   * The contents of this file are subject to the terms
   * of the Common Development and Distribution License
   * (the License). You may not use this file except in
   * compliance with the License.
   * 
   * You can obtain a copy of the License at
   * https://javaserverfaces.dev.java.net/CDDL.html or
   * legal/CDDLv1.0.txt. 
  * See the License for the specific language governing
  * permission and limitations under the License.
  * 
  * When distributing Covered Code, include this CDDL
  * Header Notice in each file and include the License file
  * at legal/CDDLv1.0.txt.    
  * If applicable, add the following below the CDDL Header,
  * with the fields enclosed by brackets [] replaced by
  * your own identifying information:
  * "Portions Copyrighted [year] [name of copyright owner]"
  * 
  * [Name of File] [ver.__] [Date]
  * 
  * Copyright 2005 Sun Microsystems Inc. All Rights Reserved
  */
 
 package javax.faces.component;


UIColumn is a UIComponent that represents a single column of data within a parent UIData component.

 
 
 public class UIColumn extends UIComponentBase {
 
 
     // ------------------------------------------------------ Manifest Constants
 

    

The standard component type for this component.

 
     public static final String COMPONENT_TYPE = "javax.faces.Column";


    

The standard component family for this component.

 
     public static final String COMPONENT_FAMILY = "javax.faces.Column";
 
 
     // ----------------------------------------------------------- Constructors
 

    

Create a new UIColumn instance with default property values.

 
     public UIColumn() {
 
         super();
         setRendererType(null);
 
     }
 
   
     // -------------------------------------------------------------- Properties
 
 
     public String getFamily() {
 
         return ();
 
     }


    

Return the footer facet of the column (if any). A convenience method for getFacet("footer").

 
     public UIComponent getFooter() {
 
         return getFacet("footer");
 
     }


    

Set the footer facet of the column. A convenience method for getFacets().put("footer", footer).

Parameters:
footer the new footer facet
Throws:
java.lang.NullPointerException if footer is null
 
     public void setFooter(UIComponent footer) {
 
         getFacets().put("footer"footer);
    }


    

Return the header facet of the column (if any). A convenience method for getFacet("header").

    public UIComponent getHeader() {
        return getFacet("header");
    }


    

Set the header facet of the column. A convenience method for getFacets().put("header", header).

Parameters:
header the new header facet
Throws:
java.lang.NullPointerException if header is null
    public void setHeader(UIComponent header) {
        getFacets().put("header"header);
    }
New to GrepCode? Check out our FAQ X