|
Generated by JDiff |
||||||||
| PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES | |||||||||
This file contains all the changes in documentation in the packagejava.awt.printas colored differences. Deletions are shownlike this, and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a <code> tag will cause all subsequent paragraphs to be displayed differently.
Returns a copy of the Paper object associated with thisClass PageFormat, void setPaper(Paper)PageFormat. Changes made to thePaperobject returned from this method do not affect thePaperobject of thisPageFormat. To update thePaperobject of thisPageFormatcreate a newPaperobject and set it into thisPageFormatby using the #setPaper(Paper) method. @return a copy of thePaperobject associated with thisPageFormat.
Sets thePaperobject for thisPageFormat. @param paper thePaperobject to which to set thePaperobject for thisPageFormat. @exceptionNullPointerExceptiona null paper instance was passed as a parameter.
TheClass Paper, void setImageableArea(double, double, double, double)Paperclass describes the physical characteristics of a piece of paper.When creating a
Paperobject it is the application's responsibility to ensure that the paper size and the imageable area are compatible. For example if the paper size is changed from 11 x 17 to 8.5 x 11 the application might need to reduce the imageable area so that whatever is printed fits on the page.@see #setSize(double double) @see #setImageableArea(double double double double)
Sets the imageable area of thisClass Paper, void setSize(double, double)Paper. The imageable area is the area on the page in which printing occurs. @param x y the coordinates to which to set the upper-left corner of the imageable area of thisPaper@param width the value to which to set the width of the imageable area of thisPaper@param height the value to which to set the height of the imageable area of thisPaper
Sets the width and height of thisPaperobject which represents the properties of the page onto which printing occurs. The dimensions are supplied in 1/72nds ofandan inch. @param width the value to which to set thisPaperobject's width @param height the value to which to set thisPaperobject's height
ThePrintableinterface is implemented by thesystemtosystem to render a page. When building a Pageable pairs of PageFormat instances and instances that implement this interface are used to describe each page. The instance implementingPrintableis called to print the page's graphics. @see java.awt.print.Pageable @see java.awt.print.PageFormat @see java.awt.print.PrinterJob
Displays a dialog that allows modification of aClass PrinterJob, PageFormat validatePage(PageFormat)PageFormatinstance. Thepageargument is used to initialize controls in the page setup dialog. If the user cancels the dialog then this method returns the originalpageobject unmodified. If the user okays the dialog then this method returns a newPageFormatobject with the indicated changes. In either case the originalpageobject is not modified. @param page the defaultPageFormatpresented to the user for modification @return the originalpageobject if the dialog is cancelled; a newPageFormatobject containing the format indicated by the user if the dialog is acknowledged. @sinceJDK11.2
AltersReturns the clone ofPageFormatpageargumentwith its settings adjusted to beusablecompatible with the currentonprinter of thisPrinterJob. For example the returnedPageFormatcould have its imageable area adjusted to fit within theobject'sphysical area of the paper that is used by the current printer. @param pagethisthepagePageFormatdescriptionthat is cloned andthen itswhose settings arealteredchanged to beusuablecompatiblefor thiswith thePrinterJobcurrent printer @return aPageFormatthat is cloned fromthePageFormatpageparameterandalteredwhose settings are changed to conform with thisPrinterJob.