152 |
throws HeadlessException; |
throws HeadlessException; |
153 |
|
|
154 |
/** |
/** |
155 |
|
* @since 1.4 |
156 |
|
*/ |
157 |
|
public PageFormat pageDialog(PrintRequestAttributeSet attributes) |
158 |
|
throws HeadlessException |
159 |
|
{ |
160 |
|
// FIXME: Implement this for real. |
161 |
|
return pageDialog((PageFormat) null); |
162 |
|
} |
163 |
|
|
164 |
|
/** |
165 |
* Prints the pages. |
* Prints the pages. |
166 |
*/ |
*/ |
167 |
public abstract void print () throws PrinterException; |
public abstract void print () throws PrinterException; |
189 |
* @return <code>false</code> if the user cancels the dialog box, |
* @return <code>false</code> if the user cancels the dialog box, |
190 |
* <code>true</code> otherwise. |
* <code>true</code> otherwise. |
191 |
*/ |
*/ |
192 |
public abstract boolean printDialog(PrintRequestAttributeSet attributes) |
public boolean printDialog(PrintRequestAttributeSet attributes) |
193 |
throws HeadlessException; |
throws HeadlessException |
194 |
|
{ |
195 |
|
// FIXME: Implement this for real. |
196 |
|
return printDialog(); |
197 |
|
} |
198 |
|
|
199 |
/** |
/** |
200 |
* This sets the pages that are to be printed. |
* This sets the pages that are to be printed. |