API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.awt.print. Paper View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      Paper
Implements
 Cloneable
Subclasses
Description
public class Paper
  The Paper class describes the physical characteristics of a piece of paper.
Constructors
public Paper ()
Creates a letter sized piece of paper with one inch margins.
Methods
Hide/Show inherited methods
public Object clone ()
  Creates a copy of this Paper with the same contents as this Paper.
public double getHeight ()
  Returns the height of the page in 1/72nds of an inch.
public double getImageableHeight ()
  Returns the height of this Paper object's imageable area.
public double getImageableWidth ()
  Returns the width of this Paper object's imageable area.
public double getImageableX ()
  Returns the x coordinate of the upper-left corner of this Paper object's imageable area.
public double getImageableY ()
  Returns the y coordinate of the upper-left corner of this Paper object's imageable area.
public double getWidth ()
  Returns the width of the page in 1/72nds of an inch.
public void setImageableArea (double x, double y, double width, double height)
  Sets the imageable area of this Paper.
public void setSize (double width, double height)
  Sets the width and height of this Paper object, which represents the properties of the page onto which printing occurs.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar