Class DefaultPageable
java.lang.Object
de.ipk_gatersleben.ag_nw.graffiti.plugins.misc.print.DefaultPageable
- All Implemented Interfaces:
Pageable
public class DefaultPageable extends Object implements Pageable
Default pageable implementation
- Version:
- $Revision$
- Author:
- Burkhard Sell
-
Field Summary
Fields inherited from interface java.awt.print.Pageable
UNKNOWN_NUMBER_OF_PAGES
-
Constructor Summary
Constructors Constructor Description DefaultPageable(Printable printable, PageFormat format, int pages)
-
Method Summary
Modifier and Type Method Description int
getNumberOfPages()
PageFormat
getPageFormat(int index)
Printable
getPrintable(int index)
void
setNumberOfPages(int pages)
-
Constructor Details
-
DefaultPageable
-
-
Method Details
-
getNumberOfPages
public int getNumberOfPages()- Specified by:
getNumberOfPages
in interfacePageable
-
setNumberOfPages
public void setNumberOfPages(int pages) -
getPrintable
- Specified by:
getPrintable
in interfacePageable
-
getPageFormat
- Specified by:
getPageFormat
in interfacePageable
-