Class HtmlColumn
- All Implemented Interfaces:
PartialStateHolder,StateHolder,TransientStateHolder,ComponentSystemEventListener,FacesListener,SystemEventListenerHolder,EventListener
Represents a column that will be rendered in an HTML table element.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe standard component type for this component.Fields inherited from class jakarta.faces.component.UIColumn
COMPONENT_FAMILYFields inherited from class jakarta.faces.component.UIComponent
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the value of thefooterClassproperty.Return the value of theheaderClassproperty.Return the value of thestyleClassproperty.booleanReturn the value of therowHeaderproperty.voidsetFooterClass(String footerClass) Set the value of thefooterClassproperty.voidsetHeaderClass(String headerClass) Set the value of theheaderClassproperty.voidsetRowHeader(boolean rowHeader) Set the value of therowHeaderproperty.voidsetStyleClass(String styleClass) Set the value of thestyleClassproperty.Methods inherited from class jakarta.faces.component.UIColumn
getFamily, getFooter, getHeader, setFooter, setHeaderMethods 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, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEventMethods 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 Details
-
COMPONENT_TYPE
The standard component type for this component.
- See Also:
-
-
Constructor Details
-
HtmlColumn
public HtmlColumn()
-
-
Method Details
-
getHeaderClass
Return the value of the
headerClassproperty.- 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
Set the value of the
headerClassproperty.- Parameters:
headerClass- the new property value
-
isRowHeader
public boolean isRowHeader()Return the value of the
rowHeaderproperty.- 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
rowHeaderproperty.- Parameters:
rowHeader- the new property value
-
getStyleClass
Return the value of the
styleClassproperty.- Returns:
- the property value
Contents: Space-separated list of CSS style class(es) that will be applied to the "td" of this column
-
setStyleClass
Set the value of the
styleClassproperty.- Parameters:
styleClass- the new property value