public class HtmlTable
extends javax.faces.component.UIData
implements javax.faces.component.behavior.ClientBehaviorHolder
| Modifier and Type | Field and Description |
|---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
protected static String |
PROPERTY_AJAX_DISABLE_RENDER_REGION_ON_REQUEST |
protected static String |
PROPERTY_MODEL |
protected static String |
PROPERTY_SINGLE_SELECTION_LISTENER |
protected static String |
PROPERTY_STYLE |
protected static String |
PROPERTY_STYLE_CLASS |
protected static String |
PROPERTY_TABLE_BORDERED |
protected static String |
PROPERTY_TABLE_CONDENSED |
protected static String |
PROPERTY_TABLE_ROW_CLASS |
protected static String |
PROPERTY_TABLE_STRIPED |
protected static String |
PROPERTY_UNIQUE_IDENTIFIER |
static String |
RENDERER_TYPE |
| Constructor and Description |
|---|
HtmlTable() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearMetaInfo(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent table)
Removes the cached TableColumnCache from the specified component.
|
String |
getDefaultEventName() |
Collection<String> |
getEventNames() |
String |
getFamily() |
TableModel |
getModel() |
String |
getModelUniqueIdentifier() |
String |
getRowClass() |
TableSingleSelectionListener |
getSingleSelectionListener() |
String |
getStyle() |
String |
getStyleClass() |
TableColumnCache |
getTableColumnCache(javax.faces.context.FacesContext context)
Returns a
TableColumnCache object containing details such
as row and column classes, cachedColumns, and a mechanism for scrolling through
the row/column classes. |
TableColumnVisibilityModel |
getTableColumnVisibilityModel() |
TableColumnOrderingModel |
getTableOrderingModel() |
TableRowSortingModel |
getTableSortModel() |
String |
getUniqueIdentifier() |
boolean |
invokeOnComponent(javax.faces.context.FacesContext context,
String clientId,
javax.faces.component.ContextCallback callback) |
boolean |
isAjaxDisableRenderRegionsOnRequest() |
boolean |
isHideColumn(HtmlColumn column) |
boolean |
isTableBordered() |
boolean |
isTableCondensed() |
boolean |
isTableStriped() |
void |
setAjaxDisableRenderRegionsOnRequest(boolean ajaxDisableRenderRegionsOnRequest) |
void |
setModel(TableModel tableModel) |
void |
setRowClass(String rowClass) |
void |
setSingleSelectionListener(TableSingleSelectionListener singleSelectionListener) |
void |
setStyle(String style) |
void |
setStyleClass(String styleClass) |
void |
setTableBordered(boolean tableBordered) |
void |
setTableCondensed(boolean tableCondensed) |
void |
setTableStriped(boolean tableStriped) |
void |
setUniqueIdentifier(String uniqueIdentifier) |
broadcast, createUniqueId, encodeBegin, getClientId, getDataModel, getFirst, getFooter, getHeader, getRowCount, getRowData, getRowIndex, getRows, getValue, getVar, isRowAvailable, isRowStatePreserved, markInitialState, processDecodes, processUpdates, processValidators, queueEvent, restoreState, saveState, setDataModel, setFirst, setFooter, setHeader, setRowIndex, setRows, setRowStatePreserved, setValue, setValueBinding, setValueExpression, setVar, visitTreeaddClientBehavior, addFacesListener, clearInitialState, decode, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, subscribeToEvent, unsubscribeFromEventencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInViewpublic static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public static final String RENDERER_TYPE
protected static final String PROPERTY_UNIQUE_IDENTIFIER
protected static final String PROPERTY_TABLE_CONDENSED
protected static final String PROPERTY_TABLE_BORDERED
protected static final String PROPERTY_TABLE_STRIPED
protected static final String PROPERTY_AJAX_DISABLE_RENDER_REGION_ON_REQUEST
protected static final String PROPERTY_MODEL
protected static final String PROPERTY_TABLE_ROW_CLASS
protected static final String PROPERTY_STYLE_CLASS
protected static final String PROPERTY_STYLE
protected static final String PROPERTY_SINGLE_SELECTION_LISTENER
public Collection<String> getEventNames()
getEventNames in interface javax.faces.component.behavior.ClientBehaviorHoldergetEventNames in class javax.faces.component.UIComponentBasepublic String getDefaultEventName()
getDefaultEventName in interface javax.faces.component.behavior.ClientBehaviorHoldergetDefaultEventName in class javax.faces.component.UIComponentBasepublic String getFamily()
getFamily in class javax.faces.component.UIDatapublic TableColumnCache getTableColumnCache(javax.faces.context.FacesContext context)
TableColumnCache object containing details such
as row and column classes, cachedColumns, and a mechanism for scrolling through
the row/column classes.context - the FacesContext for the current requestTableColumnCache for provided tablepublic void clearMetaInfo(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent table)
context - the FacesContext for the current requesttable - the table from which the TableColumnCache will be removedpublic boolean invokeOnComponent(javax.faces.context.FacesContext context,
String clientId,
javax.faces.component.ContextCallback callback)
throws javax.faces.FacesException
invokeOnComponent in class javax.faces.component.UIDatajavax.faces.FacesExceptionpublic boolean isHideColumn(HtmlColumn column)
public String getStyleClass()
public void setStyleClass(String styleClass)
public String getStyle()
public void setStyle(String style)
public String getModelUniqueIdentifier()
public TableSingleSelectionListener getSingleSelectionListener()
public void setSingleSelectionListener(TableSingleSelectionListener singleSelectionListener)
public TableModel getModel()
public TableRowSortingModel getTableSortModel()
public TableColumnOrderingModel getTableOrderingModel()
public TableColumnVisibilityModel getTableColumnVisibilityModel()
public void setModel(TableModel tableModel)
public String getUniqueIdentifier()
public void setUniqueIdentifier(String uniqueIdentifier)
public boolean isTableCondensed()
public void setTableCondensed(boolean tableCondensed)
public boolean isTableBordered()
public void setTableBordered(boolean tableBordered)
public boolean isTableStriped()
public void setTableStriped(boolean tableStriped)
public String getRowClass()
public void setRowClass(String rowClass)
public boolean isAjaxDisableRenderRegionsOnRequest()
public void setAjaxDisableRenderRegionsOnRequest(boolean ajaxDisableRenderRegionsOnRequest)
Copyright © 2018. All rights reserved.