Searched refs:Printable (Results 1 - 25 of 44) sorted by relevance

12

/openjdk7/jdk/src/share/classes/sun/swing/text/
H A DCountingPrintable.java31 * Printable which counts the number of pages.
38 public interface CountingPrintable extends Printable {
/openjdk7/jdk/src/share/classes/sun/print/
H A DOpenBook.java30 import java.awt.print.Printable;
54 private Printable mPainter;
61 * Printable.
63 OpenBook(PageFormat format, Printable painter) {
86 * Return the Printable instance responsible for rendering
89 * Printable is being requested.
90 * @return The Printable that will draw the page.
92 public Printable getPrintable(int pageIndex)
H A DImagePrinter.java32 import java.awt.print.Printable;
37 class ImagePrinter implements Printable {
58 return Printable.NO_SUCH_PAGE;
83 return Printable.PAGE_EXISTS;
/openjdk7/jdk/src/share/classes/java/awt/print/
H A DPageable.java32 * {@link PageFormat} and {@link Printable} for a specified page.
34 * @see java.awt.print.Printable
72 * Returns the <code>Printable</code> instance responsible for
75 * <code>Printable</code> is being requested
76 * @return the <code>Printable</code> that renders the page.
81 Printable getPrintable(int pageIndex)
H A DBook.java86 * Returns the {@link Printable} instance responsible for rendering
89 * <code>Printable</code> is being requested
90 * @return the <code>Printable</code> that renders the page.
94 public Printable getPrintable(int pageIndex)
105 * @param painter the <code>Printable</code> instance that
113 public void setPage(int pageIndex, Printable painter, PageFormat page)
129 * @param painter the <code>Printable</code> instance that
136 public void append(Printable painter, PageFormat page) {
144 * @param painter the <code>Printable</code> instance that renders
153 public void append(Printable painte
[all...]
H A DPrintable.java31 * The <code>Printable</code> interface is implemented
38 * instance implementing <code>Printable</code> is called to
41 * A <code>Printable(..)</code> may be set on a <code>PrinterJob</code>.
46 * It does this by calling <code>Printable.print(..)</code> until
48 * In using the <code>Printable</code> interface the printing
52 * The parameters to <code>Printable.print(..)</code> include a
64 * <li>The printing system will call <code>Printable.print(..)</code>
66 * the <code>Printable</code> should expect multiple calls for a page index
82 * <li>When called by the printing system the <code>Printable</code> must
92 * <li>When the <code>Printable</cod
101 public interface Printable { interface
[all...]
H A DPrinterJob.java184 * <code>Printable</code> interfaces necessary to support 2D printing.
202 * <code>PrinterJob</code> are rendered by the {@link Printable}
205 * @param painter the <code>Printable</code> that renders each page of
208 public abstract void setPrintable(Printable painter);
214 * <code>Printable</code> object, <code>painter</code>. The
216 * @param painter the <code>Printable</code> called to render
221 public abstract void setPrintable(Printable painter, PageFormat format);
225 * the <code>PageFormat</code> and <code>Printable</code> for each
233 * @see Printable
517 * @see Printable
[all...]
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/
H A DCPrinterPageDialog.java34 private Printable fPainter;
36 CPrinterPageDialog(Frame parent, CPrinterJob printerJob, PageFormat page, Printable painter) {
H A DCPrinterJob.java293 // pass this Graphics onto the Printable with the appropriate PageFormat and index.
383 protected void startPage(PageFormat format, Printable painter, int index) throws PrinterException {
391 protected void endPage(PageFormat format, Printable painter, int index) throws PrinterException {
433 public boolean pageSetup(PageFormat page, Printable painter) {
500 private Printable getPrintable(int pageIndex) {
502 Printable painter;
577 final Printable painter, // Client class
612 // Returns either 1. an array of 3 object (PageFormat, Printable, PeekGraphics) or 2. null
622 Printable printable = pageable.getPrintable(pageIndex);
651 private Rectangle2D printAndGetPageFormatArea(final Printable printabl
[all...]
/openjdk7/jdk/test/java/awt/print/PrinterJob/
H A DExceptionTest.java59 class TextCanvas extends Panel implements Pageable, Printable {
73 public Printable getPrintable(int pageIndex) {
80 return Printable.PAGE_EXISTS;
H A DPrintLatinCJKTest.java37 import java.awt.print.Printable;
46 public class PrintLatinCJKTest implements Printable, ActionListener {
74 return Printable.NO_SUCH_PAGE;
79 return Printable.PAGE_EXISTS;
H A DPrintAWTImage.java36 implements ActionListener, Printable {
80 return Printable.NO_SUCH_PAGE;
87 return Printable.PAGE_EXISTS;
H A DPrtException.java34 public class PrtException implements Printable {
66 return Printable.NO_SUCH_PAGE;
72 return Printable.PAGE_EXISTS;
H A DSameService.java35 public class SameService implements Printable {
H A DPageRanges.java34 public class PageRanges implements Printable {
H A DCollate2DPrintingTest.java39 extends Frame implements Doc, Printable, ActionListener {
82 return Printable.NO_SUCH_PAGE;
84 return Printable.PAGE_EXISTS;
H A DMargins.java36 public class Margins implements Printable {
84 throw new RuntimeException("Printable width or height exceeds paper width or height.");
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWPageDialog.java35 import java.awt.print.Printable;
43 Printable painter;
45 WPageDialog(Frame parent, PrinterJob control, PageFormat page, Printable painter) {
52 WPageDialog(Dialog parent, PrinterJob control, PageFormat page, Printable painter) {
/openjdk7/jdk/test/javax/print/PrintSE/
H A DPrintSE.java29 public class PrintSE implements Printable {
/openjdk7/jdk/test/javax/print/
H A DStreamPrintingOrientation.java42 class StreamPrintingOrientation implements Printable {
109 return Printable.NO_SUCH_PAGE;
118 return Printable.PAGE_EXISTS;
H A DDialogMargins.java68 class MarginsPrinter implements Printable {
96 return Printable.NO_SUCH_PAGE;
112 return Printable.PAGE_EXISTS;
/openjdk7/jdk/src/share/classes/sun/swing/
H A DPrintingStatus.java33 import java.awt.print.Printable;
255 public Printable createNotificationPrintable(Printable printable) {
259 private class NotificationPrintable implements Printable {
260 private final Printable printDelegatee;
262 public NotificationPrintable(Printable delegatee) {
264 throw new NullPointerException("Printable is null");
/openjdk7/jdk/test/java/awt/print/PrinterJob/ImagePrinting/
H A DPrintARGBImage.java35 public class PrintARGBImage implements Printable {
H A DImageTypes.java105 class ImageCanvas extends Component implements Printable {
178 return Printable.NO_SUCH_PAGE;
183 return Printable.PAGE_EXISTS;
H A DClippedImages.java152 class ClippedImageCanvas extends Component implements Printable, Pageable {
226 public Printable getPrintable(int pageIndex)
243 return Printable.NO_SUCH_PAGE;
249 return Printable.PAGE_EXISTS;

Completed in 1211 milliseconds

12