public abstract class AbstractUISheet extends AbstractUIData implements SheetStateChangeSource2, SortActionSource2, javax.faces.component.behavior.ClientBehaviorHolder, Visual, javax.faces.event.ComponentSystemEventListener
| Modifier and Type | Field and Description |
|---|---|
static String |
COMPONENT_TYPE |
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 |
encodeBegin(javax.faces.context.FacesContext facesContext) |
javax.faces.component.UIComponent |
findComponent(String searchId) |
List<AbstractUIColumnBase> |
getAllColumns() |
LayoutTokens |
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.
The name of this method is ambiguous.
You may use
getLastRowIndexOfCurrentPage(). Deprecated since 1.5.5. |
int |
getLastRowIndexOfCurrentPage()
The rowIndex of the last row on the current page plus one (because of zero based iterating).
|
int |
getPage()
Deprecated.
Please use
getCurrentPage() which returns the value zero-based. Deprecated since 1.5.5. |
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) |
SheetState |
getState() |
SheetStateChangeListener[] |
getStateChangeListeners() |
boolean |
hasRowCount() |
void |
init(javax.faces.context.FacesContext facesContext) |
boolean |
isAtBeginning() |
boolean |
isAtEnd() |
boolean |
isAutoLayout() |
boolean |
isPagingVisible() |
boolean |
isRendersRowContainer()
The value describes, if the UIData renderer creates container elements to hold the row information.
|
abstract boolean |
isShowHeader() |
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 searchId) |
createTreeDataModel, getDataModel, getPath, getRowClientId, getRowIndicesOfChildren, getRowParentClientId, getSelectable, getSelectableAsEnum, getTreeDataModel, hasRows, 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, encodeAll, 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, setStateChangeListenerExpressiongetStateChangeListener, setStateChangeListenergetSortActionListenerExpression, setSortActionListenerExpressiongetSortActionListener, setSortActionListeneraddClientBehavior, getClientBehaviors, getDefaultEventName, getEventNamesgetCustomClass, getMarkup, getRendererType, getStyle, setCustomClass, setMarkup, setStylepublic static final String COMPONENT_TYPE
public static final String SORTER_ID
public 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 LayoutTokens getColumnLayout()
public boolean isAutoLayout()
public int getLast()
getLastRowIndexOfCurrentPage(). Deprecated since 1.5.5.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. Deprecated since 1.5.5.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)
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.