|
ReportCat 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectli.netcat.print.util.PageNumberFactory
This class is used to create and count page numbers.
Constructor Summary | |
PageNumberFactory()
Constructs a new PageNumberFactory that begins counting at 0. |
Method Summary | |
PageNumber |
createPageNumber()
Creates a new instance of PageNumber and increments the total number of pages. |
int |
getNumberOfPages()
Returns the total number of pages that this factory has created. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PageNumberFactory()
PageNumberFactory
that begins counting at 0.
Method Detail |
public PageNumber createPageNumber()
PageNumber
and increments the total number of pages.
PageNumber
.public int getNumberOfPages()
|
ReportCat 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |