|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
javax.faces.component Class UIColumn
java.lang.Object javax.faces.component.UIComponent javax.faces.component.UIComponentBase javax.faces.component.UIColumn
- All Implemented Interfaces:
- StateHolder
- Direct Known Subclasses:
- HtmlColumn
public class UIColumn
- extends UIComponentBase
UIColumn 是表示父 UIData
组件内单个数据列的 UIComponent
。
UIColumn is a UIComponent
that represents
a single column of data within a parent UIData
component.
Field Summary | |
---|---|
static String |
COMPONENT_FAMILY
The standard component family for this component. |
static String |
COMPONENT_TYPE
The standard component type for this component. |
Fields inherited from class javax.faces.component.UIComponent |
---|
bindings |
Constructor Summary | |
---|---|
UIColumn()
Create a new UIColumn instance with default property
values. |
Method Summary | |
---|---|
String |
getFamily()
Return the identifier of the component family to which this component belongs. |
UIComponent |
getFooter()
Return the footer facet of the column (if any). |
UIComponent |
getHeader()
Return the header facet of the column (if any). |
void |
setFooter(UIComponent footer)
Set the footer facet of the column. |
void |
setHeader(UIComponent header)
Set the header facet of the column. |
Methods inherited from class javax.faces.component.UIComponent |
---|
encodeAll, getContainerClientId, getValueExpression, setValueExpression |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 appropriateRenderer
for this component instance.- Specified by:
getFamily
in classUIComponent
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 |
Throws | NullPointerException:
如果 footer 为 null |
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
- iffooter
isnull
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 |
Throws | NullPointerException:
如果 header 为 null |
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
- ifheader
isnull
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!