Commit 617c1000 by Michael Koch Committed by Michael Koch

2005-04-19 Michael Koch <konqueror@gmx.de>

	* java/awt/print/PrinterJob.java
	(pageDialog): New method.
	(printDialog): Implemented.

From-SVN: r98371
parent 0fabce96
2005-04-19 Michael Koch <konqueror@gmx.de>
* java/awt/print/PrinterJob.java
(pageDialog): New method.
(printDialog): Implemented.
2005-04-19 Michael Koch <konqueror@gmx.de>
* java/awt/image/ConvolveOp.java:
Removed comment added by eclipse.
......
......@@ -152,6 +152,16 @@ public abstract class PrinterJob
throws HeadlessException;
/**
* @since 1.4
*/
public PageFormat pageDialog(PrintRequestAttributeSet attributes)
throws HeadlessException
{
// FIXME: Implement this for real.
return pageDialog((PageFormat) null);
}
/**
* Prints the pages.
*/
public abstract void print () throws PrinterException;
......@@ -179,8 +189,12 @@ public abstract class PrinterJob
* @return <code>false</code> if the user cancels the dialog box,
* <code>true</code> otherwise.
*/
public abstract boolean printDialog(PrintRequestAttributeSet attributes)
throws HeadlessException;
public boolean printDialog(PrintRequestAttributeSet attributes)
throws HeadlessException
{
// FIXME: Implement this for real.
return printDialog();
}
/**
* This sets the pages that are to be printed.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment