public abstract class PageOptions extends Object implements IPageOptions
Provides options for specifying page or pages range.
Modifier | Constructor and Description |
---|---|
protected |
PageOptions()
Initializes a new instance of the
PageOptions class. |
protected |
PageOptions(int[] pageNumbers)
Initializes a new instance of the
PageOptions class. |
protected |
PageOptions(int startNumber,
int endNumber,
int mode)
Initializes a new instance of the
PageOptions class. |
protected |
PageOptions(IPager pager)
Initializes new instance of
PageOptions class. |
Modifier and Type | Method and Description |
---|---|
int[] |
pages()
Get page numbers collection.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPages
protected PageOptions()
Initializes a new instance of the PageOptions
class.
protected PageOptions(int[] pageNumbers)
Initializes a new instance of the PageOptions
class.
pageNumbers
- Pages for operation.protected PageOptions(int startNumber, int endNumber, int mode) throws Exception
Initializes a new instance of the PageOptions
class.
startNumber
- The start number.endNumber
- The end number.mode
- The mode.Exception
protected PageOptions(IPager pager)
Initializes new instance of PageOptions
class.
pager
- Pager for operation.