public class BufferPrinter1_7
extends java.lang.Object
| Constructor and Description |
|---|
BufferPrinter1_7() |
| Modifier and Type | Method and Description |
|---|---|
static java.awt.print.PageFormat |
getDefaultPageFormat(javax.print.attribute.PrintRequestAttributeSet attributes) |
static java.util.HashMap<java.lang.Integer,Range> |
getPageRanges(View view,
Buffer buffer,
javax.print.attribute.PrintRequestAttributeSet attributes)
This is intended for use by classes that need to know the page ranges
of the buffer.
|
static void |
pageSetup(View view)
Shows the printer dialog with the page setup tab active, other tabs inactive.
|
static void |
print(View view,
Buffer buffer) |
protected static void |
printPage(PrintPreviewModel model)
This is intended for use by the PrintPreview dialog.
|
public static void pageSetup(View view)
view - The parent view for the dialog.protected static void printPage(PrintPreviewModel model)
public static java.util.HashMap<java.lang.Integer,Range> getPageRanges(View view, Buffer buffer, javax.print.attribute.PrintRequestAttributeSet attributes)
public static java.awt.print.PageFormat getDefaultPageFormat(javax.print.attribute.PrintRequestAttributeSet attributes)