public class Pagination extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
chunk |
protected String |
chunkname |
protected int |
chunksize |
protected int |
firstchunk |
protected int |
hitRangeEnd |
protected int |
hitRangeStart |
protected int |
hits |
protected int |
lastchunk |
protected int |
maxhits |
protected int |
nextchunk |
protected int |
previouschunk |
Constructor and Description |
---|
Pagination(Chunk chunkParam) |
Modifier and Type | Method and Description |
---|---|
void |
calculatePagination(int hits,
int maxHits) |
int |
getChunk() |
String |
getChunkname() |
int |
getChunksize() |
int |
getFirstchunk() |
int |
getHitRangeEnd() |
int |
getHitRangeStart() |
int |
getHits() |
int |
getLastchunk() |
int |
getMaxhits() |
int |
getNextchunk() |
static Pagination |
getPagination(int hits,
int maxHits,
Chunk chunkParam) |
int |
getPreviouschunk() |
void |
setChunk(int chunk) |
void |
setChunkname(String chunkname) |
void |
setChunksize(int chunksize) |
void |
setFirstchunk(int firstchunk) |
void |
setHitRangeEnd(int hitRangeEnd) |
void |
setHitRangeStart(int hitRangeStart) |
void |
setHits(int hits) |
void |
setLastchunk(int lastchunk) |
void |
setMaxhits(int maxhits) |
void |
setNextchunk(int nextchunk) |
void |
setPreviouschunk(int previouschunk) |
protected int chunk
protected String chunkname
protected int chunksize
protected int nextchunk
protected int previouschunk
protected int firstchunk
protected int lastchunk
protected int hits
protected int maxhits
protected int hitRangeStart
protected int hitRangeEnd
public Pagination(Chunk chunkParam)
public static final Pagination getPagination(int hits, int maxHits, Chunk chunkParam)
public void calculatePagination(int hits, int maxHits)
public int getChunk()
public void setChunk(int chunk)
public String getChunkname()
public void setChunkname(String chunkname)
public int getChunksize()
public void setChunksize(int chunksize)
public int getNextchunk()
public void setNextchunk(int nextchunk)
public int getPreviouschunk()
public void setPreviouschunk(int previouschunk)
public int getFirstchunk()
public void setFirstchunk(int firstchunk)
public int getLastchunk()
public void setLastchunk(int lastchunk)
public int getHits()
public void setHits(int hits)
public int getMaxhits()
public void setMaxhits(int maxhits)
public int getHitRangeStart()
public void setHitRangeStart(int hitRangeStart)
public int getHitRangeEnd()
public void setHitRangeEnd(int hitRangeEnd)
Copyright © 2011–2017 aiticon GmbH. All rights reserved.