|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
com.infragistics.faces.shared.component.Pager
com.infragistics.faces.shared.component.html.HtmlPager
A pager is a component providing a user interface to navigate through a large number of items.
It is typically displayed as links to navigate to the first/previous/next/last page or specific page indexes.
Look and Feel
The look and feel of the pager is fully customizable.
Page Indexes
It is possible to show/hide page indexes by calling #setDisplayPageIndexes(boolean)
| Facet Name | Description |
|---|---|
| firstPage | allows to specify the component used to display the "first page" link. |
| previousPage | allows to specify the component used to display the "previous page" link. |
| nextPage | allows to specify the component used to display the "next page" link. |
| lastPage | allows to specify the component used to display the "last page" link. |
| Field Summary | |
static java.lang.String |
COMPONENT_FAMILY
|
static java.lang.String |
COMPONENT_TYPE
|
static java.lang.String |
RENDERER_TYPE
|
| Constructor Summary | |
HtmlPager()
|
|
| Method Summary | |
java.lang.String |
getFamily()
|
java.lang.String |
getPageNumberHoverStyleClass()
Returns the name of the css class applied to a page number when the mouse cursor is over it |
java.lang.String |
getPageNumberSelectedStyleClass()
Returns the name of the css class applied to a selected page number |
java.lang.String |
getPageNumberStyleClass()
Returns the name of the css class applied to page numbers |
java.lang.String |
getStyle()
Returns the default Style applied to the pager |
java.lang.String |
getStyleClass()
Returns the name of the css class applied to the pager |
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
|
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
|
void |
setPageNumberHoverStyleClass(java.lang.String pageNumberHoverStyleClass)
Sets the name of the css class applied to a page number when the mouse cursor is over it |
void |
setPageNumberSelectedStyleClass(java.lang.String pageNumberSelectedStyleClass)
Sets the name of the css class applied to a selected page number |
void |
setPageNumberStyleClass(java.lang.String pageNumberStyleClass)
Sets the name of the css class applied to page numbers |
void |
setStyle(java.lang.String style)
Sets the default Style applied to the pager |
void |
setStyleClass(java.lang.String cssName)
Sets the default Style applied to the pager |
| Methods inherited from class com.infragistics.faces.shared.component.Pager |
getFirstPage, getForComponent, getForComponentId, getLastPage, getMaximumPageNumbers, getNextPage, getPreviousPage, isFirstLastRendered, isPageNumbersRendered, isPreviousNextRendered, setFirstLastRendered, setFirstPage, setForComponentId, setLastPage, setMaximumPageNumbers, setNextPage, setPageNumbersRendered, setPreviousNextRendered, setPreviousPage |
| Methods inherited from class javax.faces.component.UIComponentBase |
broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static java.lang.String COMPONENT_FAMILY
public static java.lang.String COMPONENT_TYPE
public static java.lang.String RENDERER_TYPE
| Constructor Detail |
public HtmlPager()
| Method Detail |
public java.lang.String getFamily()
getFamily in class Pagerpublic java.lang.String getPageNumberHoverStyleClass()
public java.lang.String getPageNumberSelectedStyleClass()
public java.lang.String getPageNumberStyleClass()
public java.lang.String getStyle()
public java.lang.String getStyleClass()
public void setPageNumberHoverStyleClass(java.lang.String pageNumberHoverStyleClass)
pageNumberHoverStyleClass - Stringpublic void setPageNumberSelectedStyleClass(java.lang.String pageNumberSelectedStyleClass)
pageNumberSelectedStyleClass - Stringpublic void setPageNumberStyleClass(java.lang.String pageNumberStyleClass)
pageNumberStyleClass - Stringpublic void setStyle(java.lang.String style)
style - public void setStyleClass(java.lang.String cssName)
public void restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
restoreState in interface javax.faces.component.StateHolderrestoreState in class Pagerpublic java.lang.Object saveState(javax.faces.context.FacesContext context)
saveState in interface javax.faces.component.StateHoldersaveState in class Pager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||