Class HtmlColumn
- java.lang.Object
-
- jakarta.faces.component.UIComponent
-
- jakarta.faces.component.UIComponentBase
-
- jakarta.faces.component.UIColumn
-
- jakarta.faces.component.html.HtmlColumn
-
- All Implemented Interfaces:
PartialStateHolder
,StateHolder
,TransientStateHolder
,ComponentSystemEventListener
,FacesListener
,SystemEventListenerHolder
,EventListener
public class HtmlColumn extends UIColumn
Represents a column that will be rendered in an HTML
table
element.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
HtmlColumn.PropertyKeys
The property keys.
-
Field Summary
Fields Modifier and Type Field Description static String
COMPONENT_TYPE
The standard component type for this component.-
Fields inherited from class jakarta.faces.component.UIColumn
COMPONENT_FAMILY
-
Fields inherited from class jakarta.faces.component.UIComponent
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, FACETS_KEY, VIEW_LOCATION_KEY
-
-
Constructor Summary
Constructors Constructor Description HtmlColumn()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFooterClass()
Return the value of thefooterClass
property.String
getHeaderClass()
Return the value of theheaderClass
property.String
getStyleClass()
Return the value of thestyleClass
property.boolean
isRowHeader()
Return the value of therowHeader
property.void
setFooterClass(String footerClass)
Set the value of thefooterClass
property.void
setHeaderClass(String headerClass)
Set the value of theheaderClass
property.void
setRowHeader(boolean rowHeader)
Set the value of therowHeader
property.void
setStyleClass(String styleClass)
Set the value of thestyleClass
property.-
Methods inherited from class jakarta.faces.component.UIColumn
getFamily, getFooter, getHeader, setFooter, setHeader
-
Methods inherited from class jakarta.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, subscribeToEvent, unsubscribeFromEvent
-
Methods inherited from class jakarta.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree
-
-
-
-
Field Detail
-
COMPONENT_TYPE
public static final String COMPONENT_TYPE
The standard component type for this component.
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFooterClass
public String getFooterClass()
Return the value of the
footerClass
property.- Returns:
- the property value
Contents: Space-separated list of CSS style class(es) that will be applied to any footer generated for this column.
-
setFooterClass
public void setFooterClass(String footerClass)
Set the value of the
footerClass
property.- Parameters:
footerClass
- the new property value
-
getHeaderClass
public String getHeaderClass()
Return the value of the
headerClass
property.- Returns:
- the property value
Contents: Space-separated list of CSS style class(es) that will be applied to any header generated for this column.
-
setHeaderClass
public void setHeaderClass(String headerClass)
Set the value of the
headerClass
property.- Parameters:
headerClass
- the new property value
-
isRowHeader
public boolean isRowHeader()
Return the value of the
rowHeader
property.- Returns:
- the property value
Contents: Flag indicating that this column is a row header column and therefore cells in this column should be rendered with "th" instead of "td" and must have the 'scope="row"' attribute.
-
setRowHeader
public void setRowHeader(boolean rowHeader)
Set the value of the
rowHeader
property.- Parameters:
rowHeader
- the new property value
-
getStyleClass
public String getStyleClass()
Return the value of the
styleClass
property.- Returns:
- the property value
Contents: Space-separated list of CSS style class(es) that will be applied to the "td" of this column
-
setStyleClass
public void setStyleClass(String styleClass)
Set the value of the
styleClass
property.- Parameters:
styleClass
- the new property value
-
-