|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.chorem.pollen.ui.components.Pager
public class Pager
Pager Created: 8 mars 2010
| Constructor Summary | |
|---|---|
Pager()
|
|
| Method Summary | |
|---|---|
int |
getEndIndex()
Get the end index of the range shown. |
int |
getFirstPage()
|
protected int |
getFirstValue()
|
int |
getLastPage()
|
protected int |
getLastValue()
|
int |
getStartIndex()
Get the start index of the range shown. |
boolean |
hasNext()
Test if there is next elements after this actual range. |
boolean |
hasPrevious()
Test if there is previous elements before this actual range. |
protected void |
writeLink(org.apache.tapestry5.MarkupWriter writer,
int index,
String text,
String style)
Use an action event to change the current page. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Pager()
| Method Detail |
|---|
protected void writeLink(org.apache.tapestry5.MarkupWriter writer,
int index,
String text,
String style)
writer - used to write a elementindex - new page to change (argument of onAction method)text - to write inside the a tagstyle - of the css (class) for the a tagpublic int getStartIndex()
public int getEndIndex()
protected int getFirstValue()
protected int getLastValue()
public boolean hasPrevious()
public boolean hasNext()
public int getFirstPage()
public int getLastPage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||