|
||||||||||
| 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
org.rcfaces.core.internal.component.CameliaBaseComponent
org.rcfaces.core.component.AbstractBasicComponent
org.rcfaces.core.component.PagerComponent
public class PagerComponent
The pager Component is linked to the dataGrid Component. It shows informations about the result set (ex: number of available pages) and can give direct access to a specific page ("a la Google").
The pager Component has the following capabilities :
The default pager renderer is linked to the f_pager javascript class. f_pager extends f_component, fa_pager
Table of component style classes:
| Style Name | Description |
|---|---|
| f_pager | Defines styles for the wrapper DIV element |
| f_pager_button_first | Defines styles for the wrapper SPAN element |
| f_pager_button_next | Defines styles for the wrapper SPAN element |
| f_pager_button_last | Defines styles for the wrapper SPAN element |
| f_pager_button_prev | Defines styles for the wrapper SPAN element |
| Field Summary | |
|---|---|
protected static Set |
CAMELIA_ATTRIBUTES
|
static String |
COMPONENT_TYPE
|
| Fields inherited from class org.rcfaces.core.internal.component.CameliaBaseComponent |
|---|
engine |
| Fields inherited from class javax.faces.component.UIComponent |
|---|
bindings |
| Fields inherited from interface org.rcfaces.core.component.capability.IHiddenModeCapability |
|---|
CLIENT_HIDDEN_MODE, DEFAULT_HIDDEN_MODE, IGNORE_HIDDEN_MODE, PHANTOM_HIDDEN_MODE, SERVER_HIDDEN_MODE |
| Constructor Summary | |
|---|---|
PagerComponent()
|
|
PagerComponent(String componentId)
|
|
| Method Summary | |
|---|---|
protected Set |
getCameliaFields()
|
String |
getFor()
Returns a component's id that express the link between the two components. |
String |
getFor(FacesContext facesContext)
See getFor() for more details |
String |
getManyResultsMessage()
|
String |
getManyResultsMessage(FacesContext facesContext)
See getManyResultsMessage() for more details |
String |
getMessage()
|
String |
getMessage(FacesContext facesContext)
See getMessage() for more details |
String |
getNoPagedMessage()
Returns a string specifying the message to display when there is no row to display. |
String |
getNoPagedMessage(FacesContext facesContext)
Returns a string specifying the message to display when there is no row to display. |
String |
getOneResultMessage()
|
String |
getOneResultMessage(FacesContext facesContext)
See getOneResultMessage() for more details |
String |
getZeroResultMessage()
|
String |
getZeroResultMessage(FacesContext facesContext)
See getZeroResultMessage() for more details |
boolean |
isForSetted()
Returns true if the attribute "for" is set. |
boolean |
isManyResultsMessageSetted()
Returns true if the attribute "manyResultsMessage" is set. |
boolean |
isMessageSetted()
Returns true if the attribute "message" is set. |
boolean |
isNoPagedMessageSetted()
Returns true if the attribute "noPagedMessage" is set. |
boolean |
isOneResultMessageSetted()
Returns true if the attribute "oneResultMessage" is set. |
boolean |
isZeroResultMessageSetted()
Returns true if the attribute "zeroResultMessage" is set. |
void |
setFor(String forValue)
Sets a component's id that express the link between the two components. |
void |
setManyResultsMessage(String manyResultsMessage)
|
void |
setMessage(String message)
|
void |
setNoPagedMessage(String noPagedMessage)
Steps a string specifying the message to display when there is no row to display. |
void |
setOneResultMessage(String oneResultMessage)
|
void |
setZeroResultMessage(String zeroResultMessage)
|
| Methods inherited from class org.rcfaces.core.internal.component.CameliaBaseComponent |
|---|
clearListeners, confirmListenerAppend, constructPhase, constructTemplate, decodePhase, encodeBegin, encodeChildren, encodeEnd, getAsyncRenderer, getCameliaValueAlias, getChildren, getChildrenListState, getFamily, getRendererType, getTransientAttribute, getValueExpression, hasDefaultProperties, initializeComponent, initializePhase, isClientRendered, isRendered, isTemplateComponent, processDecodes, processEngineUpdates, processEngineValidators, processUpdates, processValidators, queueEvent, renderPhase, restoreState, saveState, setDefaultProperties, setRendered, setTransientAttribute, setValueExpression, toString, updatePhase, validationPhase, verifyAsyncDecode |
| Methods inherited from class javax.faces.component.UIComponentBase |
|---|
addFacesListener, broadcast, decode, findComponent, getAttributes, getChildCount, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendersChildren, getValueBinding, invokeOnComponent, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
| Methods inherited from class javax.faces.component.UIComponent |
|---|
encodeAll, getContainerClientId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.rcfaces.core.internal.manager.IContainerManager |
|---|
getChildCount |
| Field Detail |
|---|
public static final String COMPONENT_TYPE
protected static final Set CAMELIA_ATTRIBUTES
| Constructor Detail |
|---|
public PagerComponent()
public PagerComponent(String componentId)
| Method Detail |
|---|
public String getFor()
IForCapability
getFor in interface IForCapabilitypublic String getFor(FacesContext facesContext)
getFor() for more details
public final boolean isForSetted()
true if the attribute "for" is set.
true if the attribute is set.public void setFor(String forValue)
IForCapability
setFor in interface IForCapabilityforValue - id for a linked componentpublic String getManyResultsMessage()
getManyResultsMessage in interface IPagerMessageCapabilitypublic String getManyResultsMessage(FacesContext facesContext)
getManyResultsMessage() for more details
public final boolean isManyResultsMessageSetted()
true if the attribute "manyResultsMessage" is set.
true if the attribute is set.public void setManyResultsMessage(String manyResultsMessage)
setManyResultsMessage in interface IPagerMessageCapabilitypublic String getMessage()
getMessage in interface IPagerMessageCapabilitypublic String getMessage(FacesContext facesContext)
getMessage() for more details
public final boolean isMessageSetted()
true if the attribute "message" is set.
true if the attribute is set.public void setMessage(String message)
setMessage in interface IPagerMessageCapabilitypublic String getOneResultMessage()
getOneResultMessage in interface IPagerMessageCapabilitypublic String getOneResultMessage(FacesContext facesContext)
getOneResultMessage() for more details
public final boolean isOneResultMessageSetted()
true if the attribute "oneResultMessage" is set.
true if the attribute is set.public void setOneResultMessage(String oneResultMessage)
setOneResultMessage in interface IPagerMessageCapabilitypublic String getZeroResultMessage()
getZeroResultMessage in interface IPagerMessageCapabilitypublic String getZeroResultMessage(FacesContext facesContext)
getZeroResultMessage() for more details
public final boolean isZeroResultMessageSetted()
true if the attribute "zeroResultMessage" is set.
true if the attribute is set.public void setZeroResultMessage(String zeroResultMessage)
setZeroResultMessage in interface IPagerMessageCapabilitypublic String getNoPagedMessage()
public String getNoPagedMessage(FacesContext facesContext)
public void setNoPagedMessage(String noPagedMessage)
noPagedMessage - messagepublic boolean isNoPagedMessageSetted()
true if the attribute "noPagedMessage" is set.
true if the attribute is set.protected Set getCameliaFields()
getCameliaFields in class AbstractBasicComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||