HtmlColumn (Java EE 5)

Java EE API


javax.faces.component.html Class HtmlColumn

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIColumn
              extended by 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
 
Fields inherited from class javax.faces.component.UIColumn
 
Fields inherited from class javax.faces.component.UIComponent
 
Constructor Summary
 
Method Summary
 String
 String
 void
 Object
 void
 void
 
Methods inherited from class javax.faces.component.UIColumn
 
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

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 the StateHolder.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 the StateManager

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 interface StateHolder
Overrides:
saveState in class UIComponentBase

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 the StateHolder.restoreState(javax.faces.context.FacesContext, java.lang.Object) method on all those instances as well.

Specified by:
restoreState in interface StateHolder
Overrides:
restoreState in class UIComponentBase


Submit a bug or feature

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

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

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