1 16 package javax.faces.component; 17 18 19 20 26 public class UIColumn 27 extends UIComponentBase 28 { 29 private static final String FOOTER_FACET_NAME = "footer"; 30 private static final String HEADER_FACET_NAME = "header"; 31 32 public void setFooter(UIComponent footer) 33 { 34 getFacets().put(FOOTER_FACET_NAME, footer); 35 } 36 37 public UIComponent getFooter() 38 { 39 return (UIComponent)getFacets().get(FOOTER_FACET_NAME); 40 } 41 42 public void setHeader(UIComponent header) 43 { 44 getFacets().put(HEADER_FACET_NAME, header); 45 } 46 47 public UIComponent getHeader() 48 { 49 return (UIComponent)getFacets().get(HEADER_FACET_NAME); 50 } 51 52 53 55 public static final String COMPONENT_TYPE = "javax.faces.Column"; 56 public static final String COMPONENT_FAMILY = "javax.faces.Column"; 57 58 59 public UIColumn() 60 { 61 } 62 63 public String getFamily() 64 { 65 return COMPONENT_FAMILY; 66 } 67 68 69 } 71 | Popular Tags |