|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.portlet.forums.helper.Range org.jboss.portlet.forums.helper.GotoWithOffset
Field Summary | |
private java.lang.String |
gotoPageLabel
|
private java.lang.String |
nextLabel
|
private int |
offset
|
private int |
perPage
|
private java.lang.String |
previousLabel
|
private int |
size
|
private java.lang.String |
URL
|
Fields inherited from class org.jboss.portlet.forums.helper.Range |
left, middle, right |
Constructor Summary | |
GotoWithOffset(int size,
int offset,
int perPage,
java.lang.String URL,
java.lang.String gotoPageLabel,
java.lang.String previousLabel,
java.lang.String nextLabel)
Creates a new GotoWithOffset object. |
Method Summary | |
protected void |
end(java.lang.StringBuffer buffer)
DOCUMENT_ME |
protected void |
enhanced(java.lang.StringBuffer buffer,
int index)
DOCUMENT_ME |
java.lang.String |
generate()
DOCUMENT_ME |
protected void |
lastEnhanced(java.lang.StringBuffer buffer,
int index)
DOCUMENT_ME |
protected void |
lastNormal(java.lang.StringBuffer buffer,
int index)
DOCUMENT_ME |
protected void |
normal(java.lang.StringBuffer buffer,
int index)
DOCUMENT_ME |
void |
setOffset(int offset)
DOCUMENT_ME |
protected void |
start(java.lang.StringBuffer buffer)
DOCUMENT_ME |
Methods inherited from class org.jboss.portlet.forums.helper.Range |
build, gap, separe |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private int perPage
private java.lang.String URL
private int offset
private int size
private java.lang.String gotoPageLabel
private java.lang.String previousLabel
private java.lang.String nextLabel
Constructor Detail |
public GotoWithOffset(int size, int offset, int perPage, java.lang.String URL, java.lang.String gotoPageLabel, java.lang.String previousLabel, java.lang.String nextLabel)
GotoWithOffset
object.
size
- DOCUMENT_MEoffset
- DOCUMENT_MEperPage
- DOCUMENT_MEURL
- DOCUMENT_MEgotoPageLabel
- DOCUMENT_MEpreviousLabel
- DOCUMENT_MEnextLabel
- DOCUMENT_MEMethod Detail |
public void setOffset(int offset)
offset
- DOCUMENT_MEprotected final void start(java.lang.StringBuffer buffer)
protected final void end(java.lang.StringBuffer buffer)
protected final void normal(java.lang.StringBuffer buffer, int index)
protected final void enhanced(java.lang.StringBuffer buffer, int index)
protected final void lastNormal(java.lang.StringBuffer buffer, int index)
lastNormal
in class Range
buffer
- DOCUMENT_MEindex
- DOCUMENT_MEprotected final void lastEnhanced(java.lang.StringBuffer buffer, int index)
lastEnhanced
in class Range
buffer
- DOCUMENT_MEindex
- DOCUMENT_MEpublic java.lang.String generate()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |