|
||||||||||
| 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
javax.faces.component.UIPanel
com.ibm.xsp.component.UIPager
public class UIPager
Not intended to be subclassed.
| Nested Class Summary | |
|---|---|
static class |
UIPager.PagerState
|
| Nested classes/interfaces inherited from class javax.faces.component.UIComponentBase |
|---|
javax.faces.component.UIComponentBase.AggregatedIterator, javax.faces.component.UIComponentBase.UnmodifiableIterator |
| Nested classes/interfaces inherited from class javax.faces.component.UIComponent |
|---|
javax.faces.component.UIComponent.StateMap, javax.faces.component.UIComponent.StateMapEntry |
| Field Summary | |
|---|---|
static java.lang.String |
COMPONENT_FAMILY
|
static java.lang.String |
COMPONENT_TYPE
|
static int |
DEFAULT_PAGE_COUNT
|
| Fields inherited from class javax.faces.component.UIComponentBase |
|---|
EMPTY_ITERATOR |
| Fields inherited from class javax.faces.component.UIComponent |
|---|
_xspStateId |
| Constructor Summary | |
|---|---|
UIPager()
|
|
| Method Summary | |
|---|---|
void |
addAttr(Attr attr)
Add an Attr, to appear as an attribute in the HTML output of this control
or object tag. |
void |
broadcast(javax.faces.event.FacesEvent event)
|
void |
buildContents(javax.faces.context.FacesContext context,
FacesComponentBuilder builder)
Build the component children and facets, the default implementation is usually: builder.buildAll(context, this, true); // includeFacets=true |
UIPager.PagerState |
createPagerState()
|
javax.faces.component.UIComponent |
findSharedDataPagerParent()
|
java.util.List<Attr> |
getAttrs()
The extra attributes to be output on the base element at the root of this control or object tag. |
java.lang.String |
getFamily()
|
java.lang.String |
getLayout()
Return the value of the layout property. |
int |
getRowCount(UIPager.PagerState st,
int maxCount)
|
java.lang.String |
getStyleKitFamily()
The styleKitFamily is basically the default themeId, to use if the "themeId" property is not set on this control instance in the XPage source. |
void |
gotoFirst()
|
void |
gotoLast()
|
void |
gotoNext()
|
void |
gotoPage(int page)
|
void |
gotoPrevious()
|
void |
initAfterContents(javax.faces.context.FacesContext context)
Perform component initialization after it's children and facets are added. |
void |
initBeforeContents(javax.faces.context.FacesContext context)
Perform component initialization before its children and facets are added. |
boolean |
isPartialExecute()
|
void |
processDecodes(javax.faces.context.FacesContext context)
|
void |
queueEvent(javax.faces.event.FacesEvent e)
|
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
|
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
|
void |
setAttrs(java.util.List<Attr> attrs)
This method is not used by the XPage generated .java file - instead the addAttr(Attr) method is used to add attributes to the list. |
void |
setLayout(java.lang.String layout)
Set the value of the layout property. |
void |
setValueBinding(java.lang.String name,
javax.faces.el.ValueBinding binding)
|
| Methods inherited from class javax.faces.component.UIComponentBase |
|---|
_xspCleanTransientData, _xspGetReadOnlyObj, _xspGetRendererData, _xspRemoveReadOnlyObj, _xspRemoveRendererData, _xspSetIdUnchecked, _xspSetReadOnlyObj, _xspSetRendererData, addFacesListener, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, processUpdates, processValidators, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient |
| Methods inherited from class javax.faces.component.UIComponent |
|---|
_xspGetStateId, _xspGetStateMap, _xspRestoreAttribute, _xspRestoreState, _xspSaveState, invokeOnComponent, isVisitable, markInitialState, setControlState, visitTree |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DEFAULT_PAGE_COUNT
public static final java.lang.String COMPONENT_TYPE
public static final java.lang.String COMPONENT_FAMILY
| Constructor Detail |
|---|
public UIPager()
| Method Detail |
|---|
public java.lang.String getLayout()
layout property. Contents: Default
layout of the child controls within the pager
public void setLayout(java.lang.String layout)
layout property.
public java.util.List<Attr> getAttrs()
null. The addAttr(Attr)
method should be used to add an Attr.
getAttrs in interface FacesAttrsObjectpublic void addAttr(Attr attr)
Attr, to appear as an attribute in the HTML output of this control
or object tag.
addAttr in interface FacesAttrsObjectaction - public void setAttrs(java.util.List<Attr> attrs)
addAttr(Attr) method is used to add attributes to the list.
public void setValueBinding(java.lang.String name,
javax.faces.el.ValueBinding binding)
setValueBinding in class javax.faces.component.UIComponentBase
public void buildContents(javax.faces.context.FacesContext context,
FacesComponentBuilder builder)
throws javax.faces.FacesException
FacesComponent
buildContents in interface FacesComponentjavax.faces.FacesException
public void initAfterContents(javax.faces.context.FacesContext context)
throws javax.faces.FacesException
FacesComponent
initAfterContents in interface FacesComponentjavax.faces.FacesException
public void initBeforeContents(javax.faces.context.FacesContext context)
throws javax.faces.FacesException
FacesComponent
initBeforeContents in interface FacesComponentjavax.faces.FacesExceptionpublic java.lang.String getFamily()
getFamily in class javax.faces.component.UIPanelpublic java.lang.String getStyleKitFamily()
ThemeControlThe implementation may return different values depending on the configuration of the current control, for example the Button control returns a different value and looks different when it is configured as a cancel button.
getStyleKitFamily in interface ThemeControlnull themeId corresponding to the
configuration for this type of control in a theme file.public boolean isPartialExecute()
public void processDecodes(javax.faces.context.FacesContext context)
processDecodes in class javax.faces.component.UIComponentBasepublic void queueEvent(javax.faces.event.FacesEvent e)
queueEvent in class javax.faces.component.UIComponentBase
public void broadcast(javax.faces.event.FacesEvent event)
throws javax.faces.event.AbortProcessingException
broadcast in class javax.faces.component.UIComponentBasejavax.faces.event.AbortProcessingException
public void restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
restoreState in interface javax.faces.component.StateHolderrestoreState in class javax.faces.component.UIComponentBasepublic java.lang.Object saveState(javax.faces.context.FacesContext context)
saveState in interface javax.faces.component.StateHoldersaveState in class javax.faces.component.UIComponentBase
public int getRowCount(UIPager.PagerState st,
int maxCount)
st - maxCount -
public void gotoFirst()
public void gotoPrevious()
public void gotoNext()
public void gotoLast()
public void gotoPage(int page)
public javax.faces.component.UIComponent findSharedDataPagerParent()
public UIPager.PagerState createPagerState()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||