|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
javax.faces.component.html Class HtmlColumn
java.lang.Object javax.faces.component.UIComponent javax.faces.component.UIComponentBase javax.faces.component.UIColumn javax.faces.component.html.HtmlColumn
- All Implemented Interfaces:
- StateHolder
public class HtmlColumn
- extends UIColumn
表示将在 HTML table
元素中呈现的列。
Represents a column that will be rendered
in an HTML table
element.
Field Summary | |
---|---|
static String |
COMPONENT_TYPE
The standard component type for this component. |
Fields inherited from class javax.faces.component.UIColumn |
---|
COMPONENT_FAMILY |
Fields inherited from class javax.faces.component.UIComponent |
---|
bindings |
Constructor Summary | |
---|---|
HtmlColumn()
|
Method Summary | |
---|---|
String |
getFooterClass()
Return the value of the footerClass property. |
String |
getHeaderClass()
Return the value of the headerClass property. |
void |
restoreState(FacesContext _context,
Object _state)
Perform any processing required to restore the state from the entries in the state Object. |
Object |
saveState(FacesContext _context)
Gets the state of the instance as a Serializable Object. |
void |
setFooterClass(String footerClass)
Set the value of the footerClass property. |
void |
setHeaderClass(String headerClass)
Set the value of the headerClass property. |
Methods inherited from class javax.faces.component.UIColumn |
---|
getFamily, getFooter, getHeader, setFooter, setHeader |
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
Constructor Detail |
---|
public
HtmlColumn()
英文文档:
HtmlColumn
public HtmlColumn()
Method Detail |
---|
public String
getFooterClass()
返回 footerClass
属性的值。
内容:以空格分隔的 CSS 样式类列表,将应用于为此列生成的任何脚注。
英文文档:getFooterClass
public String getFooterClass()
Return the value of the
footerClass
property.Contents: Space-separated list of CSS style class(es) that will be applied to any footer generated for this column.
public void
setFooterClass(String footerClass)
设置 footerClass
属性的值。
setFooterClass
public void setFooterClass(String footerClass)
Set the value of the
footerClass
property.
public String
getHeaderClass()
返回 headerClass
属性的值。
内容:以空格分隔的 CSS 样式类列表,将应用于为此列生成的任何头。
getHeaderClass
public String getHeaderClass()
Return the value of the
headerClass
property.Contents: Space-separated list of CSS style class(es) that will be applied to any header generated for this column.
public void
setHeaderClass(String headerClass)
设置 headerClass
属性的值。
setHeaderClass
public void setHeaderClass(String headerClass)
Set the value of the
headerClass
property.
public Object
saveState(FacesContext _context)
英文文档:
saveState
public Object saveState(FacesContext _context)
- Description copied from interface:
StateHolder
Gets the state of the instance as a
Serializable
Object.If the class that implements this interface has references to instances that implement StateHolder (such as a
UIComponent
with event handlers, validators, etc.) this method must call theStateHolder.saveState(javax.faces.context.FacesContext)
method on all those instances as well. This method must not save the state of children and facets. That is done via theStateManager
This method must not alter the state of the implementing object. In other words, after executing this code:
Object state = component.saveState(facesContext);
component
should be the same as before executing it.The return from this method must be
Serializable
- Specified by:
saveState
in interfaceStateHolder
- Overrides:
saveState
in classUIComponentBase
public void
restoreState(FacesContext _context, Object _state)
英文文档:
restoreState
public void restoreState(FacesContext _context, Object _state)
- Description copied from interface:
StateHolder
Perform any processing required to restore the state from the entries in the state Object.
If the class that implements this interface has references to instances that also implement StateHolder (such as a
UIComponent
with event handlers, validators, etc.) this method must call theStateHolder.restoreState(javax.faces.context.FacesContext, java.lang.Object)
method on all those instances as well.- Specified by:
restoreState
in interfaceStateHolder
- Overrides:
restoreState
in classUIComponentBase
|
|||||||||
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 : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!