Overview
Package
Class
Use
Tree
Deprecated
Index
All Classes
Help
Prev Class
Next Class
Sample
Document
Class java.awt.PrintJob
Inherited members: ShowHide
Deprecated: ShowHide
View: ClientSubclassPackageImplementation
java.awt

Class PrintJob

  • java.lang.Object
    • java.awt.PrintJob
  • public abstract class PrintJob extends java.lang.Object
    An abstract class which initiates and executes a print job. It provides access to a print graphics object which renders to an appropriate print device.
    See Also:
    Toolkit.getPrintJob(java.awt.Frame, java.lang.String, java.util.Properties)
    • Constructors 
      Constructor and Description
      Ordinary member indicator PrintJob Reveal DetailHide Detail
      PrintJob()
       
      public PrintJob()
    • Methods 
      Modifier and Type Method and Description
      Ordinary member indicator end Reveal DetailHide Detail
      abstract void end()
      Ends the print job and does any necessary cleanup.
      public abstract void end()
      Ends the print job and does any necessary cleanup.
      Overridden member indicator finalize Reveal DetailHide Detail
      void finalize()
      Ends this print job once it is no longer referenced.
      public void finalize()
      Ends this print job once it is no longer referenced.
      Overrides:
      finalize in class java.lang.Object
      See Also:
      end()
      Ordinary member indicator getGraphics Reveal DetailHide Detail
      abstract Graphics getGraphics()
      Gets a Graphics object that will draw to the next page.
      public abstract Graphics getGraphics()
      Gets a Graphics object that will draw to the next page. The page is sent to the printer when the graphics object is disposed. This graphics object will also implement the PrintGraphics interface.
      See Also:
      PrintGraphics
      Ordinary member indicator getPageDimension Reveal DetailHide Detail
      abstract Dimension getPageDimension()
      Returns the dimensions of the page in pixels.
      public abstract Dimension getPageDimension()
      Returns the dimensions of the page in pixels. The resolution of the page is chosen so that it is similar to the screen resolution.
      Ordinary member indicator getPageResolution Reveal DetailHide Detail
      abstract int getPageResolution()
      Returns the resolution of the page in pixels per inch.
      public abstract int getPageResolution()
      Returns the resolution of the page in pixels per inch. Note that this doesn't have to correspond to the physical resolution of the printer.
      Ordinary member indicator lastPageFirst Reveal DetailHide Detail
      abstract boolean lastPageFirst()
      Returns true if the last page will be printed first.
      public abstract boolean lastPageFirst()
      Returns true if the last page will be printed first.
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
This document was created by Dulcet from the OpenJDK sources. Copyright © 1993, 2012 Oracle and/or its affiliates. All rights reserved.

SourceForge