public abstract class AbstractUISheet extends AbstractUIData implements SheetStateChangeSource, SortActionSource, javax.faces.component.behavior.ClientBehaviorHolder, Visual, javax.faces.event.ComponentSystemEventListener
| Modifier and Type | Field and Description |
|---|---|
static String |
COMPONENT_TYPE
Deprecated.
since 4.4.0.
|
static String |
NOT_SORTABLE_MESSAGE_ID |
static String |
SORTER_ID |
SUFFIX_EXPANDED, SUFFIX_MARKED, SUFFIX_SELECTED| Constructor and Description |
|---|
AbstractUISheet() |
| Modifier and Type | Method and Description |
|---|---|
void |
addStateChangeListener(SheetStateChangeListener listener) |
void |
broadcast(javax.faces.event.FacesEvent facesEvent) |
void |
encodeAll(javax.faces.context.FacesContext facesContext) |
void |
encodeBegin(javax.faces.context.FacesContext facesContext) |
javax.faces.component.UIComponent |
findComponent(String searchId) |
List<AbstractUIColumnBase> |
getAllColumns() |
MeasureList |
getColumnLayout() |
abstract String |
getColumns() |
int |
getCurrentPage() |
ExpandedState |
getExpandedState() |
int |
getFirstRowIndexOfLastPage()
Determines the beginning of the last page in the model.
|
Grid |
getHeaderGrid() |
int |
getLast()
Deprecated.
since 1.5.5, the name of this method is ambiguous. You may use
getLastRowIndexOfCurrentPage(). |
int |
getLastRowIndexOfCurrentPage()
The rowIndex of the last row on the current page plus one (because of zero based iterating).
|
int |
getPage()
Deprecated.
since 1.5.5, please use
getCurrentPage() which returns the value zero-based. |
int |
getPages()
The number of pages to render.
|
List<javax.faces.component.UIComponent> |
getRenderedChildrenOf(javax.faces.component.UIColumn column) |
SelectedState |
getSelectedState() |
SheetState |
getSheetState(javax.faces.context.FacesContext facesContext) |
abstract ShowPosition |
getShowDirectLinks() |
abstract ShowPosition |
getShowPageRange() |
abstract ShowPosition |
getShowRowRange() |
SheetState |
getState() |
SheetStateChangeListener[] |
getStateChangeListeners() |
boolean |
hasRowCount() |
void |
init(javax.faces.context.FacesContext facesContext) |
boolean |
isAtBeginning() |
boolean |
isAtEnd() |
boolean |
isAutoLayout() |
abstract boolean |
isLazy() |
boolean |
isPagingVisible() |
boolean |
isRendersRowContainer()
The value describes, if the UIData renderer creates container elements to hold the row information.
|
abstract boolean |
isShowDirectLinksArrows() |
abstract boolean |
isShowHeader() |
abstract boolean |
isShowPageRangeArrows() |
abstract boolean |
isShowPagingAlways() |
boolean |
needMoreThanOnePage() |
void |
performPaging(PageActionEvent pageEvent) |
void |
processEvent(javax.faces.event.ComponentSystemEvent event) |
void |
processUpdates(javax.faces.context.FacesContext context) |
void |
queueEvent(javax.faces.event.FacesEvent facesEvent) |
void |
removeStateChangeListener(SheetStateChangeListener listener) |
void |
restoreState(javax.faces.context.FacesContext context,
Object savedState) |
Object |
saveState(javax.faces.context.FacesContext context) |
void |
setHeaderGrid(Grid headerGrid) |
void |
setState(SheetState state) |
protected void |
sort(javax.faces.context.FacesContext facesContext,
SortActionEvent event) |
String |
stripRowIndex(String initialSearchId) |
createTreeDataModel, getDataModel, getPath, getRowClientId, getRowIndicesOfChildren, getRowParentClientId, getSelectable, getSelectableAsEnum, getTreeDataModel, invokeOnComponent, isFolder, isRowsUnlimited, isRowVisible, isShowRoot, isShowRootJunction, isTreeModel, visitTreecreateUniqueId, encodeEnd, getContainerClientId, getFamily, getFirst, getFooter, getHeader, getRowCount, getRowData, getRowIndex, getRows, getValue, getVar, isRowAvailable, processDecodes, processValidators, setDataModel, setFirst, setFooter, setHeader, setRowIndex, setRows, setValue, setValueExpression, setVaraddClientBehavior, addFacesListener, clearInitialState, decode, encodeChildren, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, initialStateMarked, isRendered, isTransient, markInitialState, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBindinggetClientId, getCompositeComponentParent, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, pushComponentToEL, setInView, subscribeToEvent, unsubscribeFromEventclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetStateChangeListenerExpression, setStateChangeListenerExpressiongetSortActionListenerExpression, setSortActionListenerExpressionaddClientBehavior, getClientBehaviors, getDefaultEventName, getEventNamesgetCustomClass, getMarkup, getRendererType, isPlain, setCustomClass, setMarkup@Deprecated public static final String COMPONENT_TYPE
public static final String SORTER_ID
public static final String NOT_SORTABLE_MESSAGE_ID
public void encodeAll(javax.faces.context.FacesContext facesContext)
throws IOException
encodeAll in class javax.faces.component.UIComponentBaseIOExceptionpublic void encodeBegin(javax.faces.context.FacesContext facesContext)
throws IOException
encodeBegin in class AbstractUIDataIOExceptionpublic void setState(SheetState state)
public SheetState getState()
public SheetState getSheetState(javax.faces.context.FacesContext facesContext)
public abstract String getColumns()
public void processEvent(javax.faces.event.ComponentSystemEvent event)
throws javax.faces.event.AbortProcessingException
processEvent in interface javax.faces.event.ComponentSystemEventListenerprocessEvent in class javax.faces.component.UIComponentjavax.faces.event.AbortProcessingExceptionpublic MeasureList getColumnLayout()
public boolean isAutoLayout()
@Deprecated public int getLast()
getLastRowIndexOfCurrentPage().public int getLastRowIndexOfCurrentPage()
IllegalArgumentException - If the number of rows in the model returned by UIData.getRowCount() is -1
(undefined).public int getCurrentPage()
@Deprecated public int getPage()
getCurrentPage() which returns the value zero-based.public int getPages()
IllegalArgumentException - If the number of rows in the model returned by UIData.getRowCount() is -1
(undefined).public List<javax.faces.component.UIComponent> getRenderedChildrenOf(javax.faces.component.UIColumn column)
public boolean isAtBeginning()
public boolean hasRowCount()
public boolean isPagingVisible()
isShowPagingAlways()public boolean needMoreThanOnePage()
public abstract boolean isShowPagingAlways()
public boolean isAtEnd()
public int getFirstRowIndexOfLastPage()
IllegalArgumentException - If the number of rows in the model returned by UIData.getRowCount() is -1
(undefined).public void processUpdates(javax.faces.context.FacesContext context)
processUpdates in class javax.faces.component.UIDatapublic Object saveState(javax.faces.context.FacesContext context)
saveState in interface javax.faces.component.StateHoldersaveState in class javax.faces.component.UIComponentBasepublic void restoreState(javax.faces.context.FacesContext context,
Object savedState)
restoreState in interface javax.faces.component.StateHolderrestoreState in class javax.faces.component.UIComponentBasepublic List<AbstractUIColumnBase> getAllColumns()
public void queueEvent(javax.faces.event.FacesEvent facesEvent)
queueEvent in class javax.faces.component.UIDatapublic void broadcast(javax.faces.event.FacesEvent facesEvent)
throws javax.faces.event.AbortProcessingException
broadcast in class javax.faces.component.UIDatajavax.faces.event.AbortProcessingExceptionpublic void init(javax.faces.context.FacesContext facesContext)
protected void sort(javax.faces.context.FacesContext facesContext,
SortActionEvent event)
public void addStateChangeListener(SheetStateChangeListener listener)
addStateChangeListener in interface SheetStateChangeSourcepublic SheetStateChangeListener[] getStateChangeListeners()
getStateChangeListeners in interface SheetStateChangeSourcepublic void removeStateChangeListener(SheetStateChangeListener listener)
removeStateChangeListener in interface SheetStateChangeSourcepublic javax.faces.component.UIComponent findComponent(String searchId)
findComponent in class javax.faces.component.UIComponentBasepublic void performPaging(PageActionEvent pageEvent)
public boolean isRendersRowContainer()
AbstractUIDataisRendersRowContainer in class AbstractUIDatapublic abstract boolean isShowHeader()
public ExpandedState getExpandedState()
getExpandedState in class AbstractUIDatapublic SelectedState getSelectedState()
getSelectedState in class AbstractUIDatapublic Grid getHeaderGrid()
public void setHeaderGrid(Grid headerGrid)
public abstract boolean isShowDirectLinksArrows()
public abstract boolean isShowPageRangeArrows()
public abstract ShowPosition getShowRowRange()
public abstract ShowPosition getShowPageRange()
public abstract ShowPosition getShowDirectLinks()
public abstract boolean isLazy()
Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.