|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.melati.poem.util.PagedEnumerationBase
public abstract class PagedEnumerationBase
All the code common to CountedDumbPagedEnumeration
and DumbPagedEnumeration
.
Nested Class Summary | |
---|---|
class |
PagedEnumerationBase.Page
A 'screen full' of results. |
Constructor Summary | |
---|---|
PagedEnumerationBase()
|
Method Summary | |
---|---|
int |
getCurrentPosition()
|
int |
getNextPosition()
|
int |
getPageEnd()
|
java.util.Vector |
getPages()
|
int |
getPageSize()
|
int |
getPageStart()
|
java.lang.Integer |
getPrevPageStart()
|
int |
getTotalCount()
|
boolean |
hasMoreElements()
|
java.lang.Object |
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.poem.util.PagedEnumeration |
---|
getNextPageStart |
Constructor Detail |
---|
public PagedEnumerationBase()
Method Detail |
---|
public boolean hasMoreElements()
hasMoreElements
in interface java.util.Enumeration
Enumeration.hasMoreElements()
public java.lang.Object nextElement()
nextElement
in interface java.util.Enumeration
Enumeration.nextElement()
public int getPageStart()
getPageStart
in interface PagedEnumeration
PagedEnumeration.getPageStart()
public int getPageEnd()
getPageEnd
in interface PagedEnumeration
PagedEnumeration.getPageEnd()
public int getTotalCount()
getTotalCount
in interface PagedEnumeration
PagedEnumeration.getTotalCount()
public java.lang.Integer getPrevPageStart()
getPrevPageStart
in interface PagedEnumeration
PagedEnumeration.getPrevPageStart()
public int getCurrentPosition()
getCurrentPosition
in interface PagedEnumeration
PagedEnumeration.getCurrentPosition()
public int getNextPosition()
getNextPosition
in interface PagedEnumeration
PagedEnumeration.getNextPosition()
public boolean nextElementOnThisPage()
nextElementOnThisPage
in interface PagedEnumeration
PagedEnumeration.nextElementOnThisPage()
public int getPageSize()
getPageSize
in interface PagedEnumeration
PagedEnumeration.getPageSize()
public java.util.Vector getPages()
getPages
in interface PagedEnumeration
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |