|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hops.dm.tad.pagInfo
public class pagInfo
Stores information about the pagination attribute: - how many results - the number of results per page - the current page
Field Summary | |
---|---|
int |
current
current result index |
int |
item
number of item selected |
pag_state |
pagaction
last user selection |
int |
total
total of results |
int |
window
number of results per page |
Constructor Summary | |
---|---|
pagInfo()
Creates a new instance of pagInfo |
|
pagInfo(pagInfo _p)
Creates a new pagInfo of utterance and copy the pagInfo input values |
Method Summary | |
---|---|
void |
back()
go to previous page |
java.lang.Object |
clone()
Creates and returns a copy of this object. |
int |
getPrevious()
go to the previous page |
int |
getTo()
the last item in the page |
boolean |
hasItem(int i)
|
boolean |
hasNext()
the current page is not the last |
boolean |
hasPrevious()
the current page is not the first |
boolean |
is_item()
the user selected an item |
boolean |
is_next()
the user selected the next page |
boolean |
is_previous()
the user selected previous page |
boolean |
is_quit()
the user aborts pagination |
boolean |
is_update()
the user aborts pagination |
void |
next()
go to next page |
void |
setPrevious(pagInfo _p)
set the previous page |
java.lang.String |
toString()
Returns a string representation of the object. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int total
public int current
public int window
public pag_state pagaction
public int item
Constructor Detail |
---|
public pagInfo()
public pagInfo(pagInfo _p)
Method Detail |
---|
public boolean is_next()
public boolean is_item()
public boolean is_previous()
public boolean is_quit()
public boolean is_update()
public int getTo()
public void next()
public void back()
public boolean hasNext()
public boolean hasPrevious()
public boolean hasItem(int i)
public java.lang.Object clone()
clone
in class java.lang.Object
public int getPrevious()
public void setPrevious(pagInfo _p)
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |