|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.businessobjects.jsf.sdk.properties.PagingProps
Contains properties for specifying how to perform paging.
Constructor Summary | |
PagingProps()
|
|
PagingProps(boolean enabled,
int nObjs,
int nPages)
|
Method Summary | |
int |
getPageSize()
Gets the number of items per page. |
int |
getRangeSize()
Gets the number of pages per page range. |
boolean |
hasSameValues(PagingProps paging)
Returns whether or not the PagingProps object passed in has the same values as this PagingProps object. |
boolean |
isEnabled()
Returns a value that indicates whether paging is enabled. |
void |
setEnabled(boolean enabled)
Sets a value that indicates whether paging is enabled. |
void |
setPageSize(int pageSize)
Sets the number of items per page. |
void |
setRangeSize(int rangeSize)
Sets the number of pages per page range. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PagingProps()
public PagingProps(boolean enabled, int nObjs, int nPages)
Method Detail |
public boolean hasSameValues(PagingProps paging)
Returns whether or not the PagingProps object passed in has the same values as this PagingProps object.
paging
- the PagingProps
object whose values to checkpublic boolean isEnabled()
Returns a value that indicates whether paging is enabled.
true
if paging is enabled, otherwise, false
.public void setEnabled(boolean enabled)
Sets a value that indicates whether paging is enabled.
enabled
- true
to enable paging, otherwise, false
.public int getPageSize()
Gets the number of items per page.
int
representing the number of items per page.public void setPageSize(int pageSize)
Sets the number of items per page.
public int getRangeSize()
Gets the number of pages per page range.
int
representing the number of pages per page range.public void setRangeSize(int rangeSize)
Sets the number of pages per page range.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |