net.sf.banglapad
Class PageDivider

java.lang.Object
  extended by net.sf.banglapad.PageDivider
All Implemented Interfaces:
java.awt.print.Pageable

public class PageDivider
extends java.lang.Object
implements java.awt.print.Pageable


Field Summary
 
Fields inherited from interface java.awt.print.Pageable
UNKNOWN_NUMBER_OF_PAGES
 
Constructor Summary
PageDivider(SimTextPane text_pane, java.awt.print.PageFormat pf)
           
 
Method Summary
 int getNumberOfPages()
           
 java.awt.print.PageFormat getPageFormat(int pageindex)
           
 java.awt.print.Printable getPrintable(int pageindex)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageDivider

public PageDivider(SimTextPane text_pane,
                   java.awt.print.PageFormat pf)
Method Detail

getNumberOfPages

public int getNumberOfPages()
Specified by:
getNumberOfPages in interface java.awt.print.Pageable

getPageFormat

public java.awt.print.PageFormat getPageFormat(int pageindex)
Specified by:
getPageFormat in interface java.awt.print.Pageable

getPrintable

public java.awt.print.Printable getPrintable(int pageindex)
Specified by:
getPrintable in interface java.awt.print.Pageable