站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

GotoWithOffset - JBOSS Portal 2.6 API 英文版文档


org.jboss.portlet.forums.helper
Class GotoWithOffset

java.lang.Object
  extended byorg.jboss.portlet.forums.helper.Range
      extended byorg.jboss.portlet.forums.helper.GotoWithOffset

public class GotoWithOffset
extends Range

Version:
$Revision: 5448 $
Author:
Julien Viet, Thomas Heute

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

perPage

private int perPage

URL

private java.lang.String URL

offset

private int offset

size

private int size

gotoPageLabel

private java.lang.String gotoPageLabel

previousLabel

private java.lang.String previousLabel

nextLabel

private java.lang.String nextLabel
Constructor Detail

GotoWithOffset

public 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.

Parameters:
size - DOCUMENT_ME
offset - DOCUMENT_ME
perPage - DOCUMENT_ME
URL - DOCUMENT_ME
gotoPageLabel - DOCUMENT_ME
previousLabel - DOCUMENT_ME
nextLabel - DOCUMENT_ME
Method Detail

setOffset

public void setOffset(int offset)
DOCUMENT_ME

Parameters:
offset - DOCUMENT_ME

start

protected final void start(java.lang.StringBuffer buffer)
DOCUMENT_ME

Overrides:
start in class Range
Parameters:
buffer - DOCUMENT_ME

end

protected final void end(java.lang.StringBuffer buffer)
DOCUMENT_ME

Overrides:
end in class Range
Parameters:
buffer - DOCUMENT_ME

normal

protected final void normal(java.lang.StringBuffer buffer,
                            int index)
DOCUMENT_ME

Overrides:
normal in class Range
Parameters:
buffer - DOCUMENT_ME
index - DOCUMENT_ME

enhanced

protected final void enhanced(java.lang.StringBuffer buffer,
                              int index)
DOCUMENT_ME

Overrides:
enhanced in class Range
Parameters:
buffer - DOCUMENT_ME
index - DOCUMENT_ME

lastNormal

protected final void lastNormal(java.lang.StringBuffer buffer,
                                int index)
DOCUMENT_ME

Overrides:
lastNormal in class Range
Parameters:
buffer - DOCUMENT_ME
index - DOCUMENT_ME

lastEnhanced

protected final void lastEnhanced(java.lang.StringBuffer buffer,
                                  int index)
DOCUMENT_ME

Overrides:
lastEnhanced in class Range
Parameters:
buffer - DOCUMENT_ME
index - DOCUMENT_ME

generate

public java.lang.String generate()
DOCUMENT_ME

Returns:
DOCUMENT_ME