mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-21 19:15:57 +08:00
2005-04-19 Michael Koch <konqueror@gmx.de>
* java/awt/print/PrinterJob.java (pageDialog): New method. (printDialog): Implemented. From-SVN: r98371
This commit is contained in:
parent
0fabce9650
commit
617c100078
@ -1,3 +1,9 @@
|
||||
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:
|
||||
|
@ -151,6 +151,16 @@ public abstract class PrinterJob
|
||||
public abstract PageFormat pageDialog(PageFormat page_format)
|
||||
throws HeadlessException;
|
||||
|
||||
/**
|
||||
* @since 1.4
|
||||
*/
|
||||
public PageFormat pageDialog(PrintRequestAttributeSet attributes)
|
||||
throws HeadlessException
|
||||
{
|
||||
// FIXME: Implement this for real.
|
||||
return pageDialog((PageFormat) null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Prints the pages.
|
||||
*/
|
||||
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user