UIColumn (Java EE 5)

Java EE API


javax.faces.component Class UIColumn

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIColumn
All Implemented Interfaces:
StateHolder
Direct Known Subclasses:
HtmlColumn

public class UIColumn
extends UIComponentBase

Extended by: HtmlColumn

UIColumn 是表示父 UIData 组件内单个数据列的 UIComponent

英文文档:

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


Field Summary
static String
static String
 
Fields inherited from class javax.faces.component.UIComponent
 
Constructor Summary
 
Method Summary
 String
 UIComponent
 UIComponent
 void
 void
 
Methods inherited from class javax.faces.component.UIComponentBase
 
Methods inherited from class javax.faces.component.UIComponent
 
Methods inherited from class java.lang.Object
 

Field Detail

英文文档:

COMPONENT_TYPE

public static final String COMPONENT_TYPE

The standard component type for this component.

See Also:
Constant Field Values


英文文档:

COMPONENT_FAMILY

public static final String COMPONENT_FAMILY

The standard component family for this component.

See Also:
Constant Field Values

Constructor Detail

public UIColumn()

使用默认属性值创建新的 UIColumn 实例。

英文文档:

UIColumn

public UIColumn()

Create a new UIColumn instance with default property values.

Method Detail

public String getFamily()
英文文档:

getFamily

public String getFamily()
Description copied from class: UIComponent

Return the identifier of the component family to which this component belongs. This identifier, in conjunction with the value of the rendererType property, may be used to select the appropriate Renderer for this component instance.

Specified by:
getFamily in class UIComponent

public UIComponent getFooter()

返回列的脚注 facet(如果有)。getFacet("footer") 的便捷方法。

英文文档:

getFooter

public UIComponent getFooter()

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


public void setFooter(UIComponent footer)

设置列的脚注 facet。getFacets().put("footer", footer) 的便捷方法。

footer 新的脚注 facet
ThrowsNullPointerException: 如果 footernull
英文文档:

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

public UIComponent getHeader()

返回列的头 facet(如果有)。getFacet("header") 的便捷方法。

英文文档:

getHeader

public UIComponent getHeader()

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


public void setHeader(UIComponent header)

设置列的头 facet。getFacets().put("header", header) 的便捷方法。

header 新的头 facet
ThrowsNullPointerException: 如果 headernull
英文文档:

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


Submit a bug or feature

Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

一看就知道只有菜鸟才干这么无知的事啦。

PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!