|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.melati.util.PagedEnumerationBase<T>
public abstract class PagedEnumerationBase<T>
All the code common to CountedDumbPagedEnumeration
and DumbPagedEnumeration
.
Constructor Summary | |
---|---|
PagedEnumerationBase()
|
Method Summary | |
---|---|
int |
getCurrentPosition()
|
int |
getNextPosition()
|
int |
getPageEnd()
|
Vector<Page> |
getPages()
|
int |
getPageSize()
|
int |
getPageStart()
|
Integer |
getPrevPageStart()
|
int |
getTotalCount()
|
boolean |
hasMoreElements()
|
T |
nextElement()
|
boolean |
nextElementOnThisPage()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.melati.util.PagedEnumeration |
---|
getNextPageStart |
Constructor Detail |
---|
public PagedEnumerationBase()
Method Detail |
---|
public boolean hasMoreElements()
hasMoreElements
in interface Enumeration<T>
Enumeration.hasMoreElements()
public T nextElement()
nextElement
in interface Enumeration<T>
Enumeration.nextElement()
public int getPageStart()
getPageStart
in interface PagedEnumeration<T>
PagedEnumeration
public int getPageEnd()
getPageEnd
in interface PagedEnumeration<T>
PagedEnumeration
public int getTotalCount()
getTotalCount
in interface PagedEnumeration<T>
PagedEnumeration
public Integer getPrevPageStart()
getPrevPageStart
in interface PagedEnumeration<T>
PagedEnumeration
public int getCurrentPosition()
getCurrentPosition
in interface PagedEnumeration<T>
PagedEnumeration
public int getNextPosition()
getNextPosition
in interface PagedEnumeration<T>
PagedEnumeration
public boolean nextElementOnThisPage()
nextElementOnThisPage
in interface PagedEnumeration<T>
PagedEnumeration
public int getPageSize()
getPageSize
in interface PagedEnumeration<T>
PagedEnumeration
public Vector<Page> getPages()
getPages
in interface PagedEnumeration<T>
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |