Class UIColumn

All Implemented Interfaces:
EventListener, PartialStateHolder, StateHolder, TransientStateHolder, ComponentSystemEventListener, FacesListener, SystemEventListenerHolder
Direct Known Subclasses:
HtmlColumn

public class UIColumn extends UIComponentBase

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

  • Field Details

    • COMPONENT_TYPE

      public static final String COMPONENT_TYPE

      The standard component type for this component.

      See Also:
    • COMPONENT_FAMILY

      public static final String COMPONENT_FAMILY

      The standard component family for this component.

      See Also:
  • Constructor Details

    • UIColumn

      public UIColumn()

      Create a new UIColumn instance with default property values.

  • Method Details

    • getFamily

      public String getFamily()
      Get the component family.
      Specified by:
      getFamily in class UIComponent
      Returns:
      the component family.
    • getFooter

      public UIComponent getFooter()

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

      Returns:
      the footer component.
    • setFooter

      public void setFooter(UIComponent footer)

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

      Parameters:
      footer - the new footer facet
      Throws:
      NullPointerException - if footer is null
    • getHeader

      public UIComponent getHeader()

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

      Returns:
      the header component.
    • setHeader

      public void setHeader(UIComponent header)

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

      Parameters:
      header - the new header facet
      Throws:
      NullPointerException - if header is null