Package org.gjt.sp.jedit.print
Class BufferPrinter1_7
- java.lang.Object
-
- org.gjt.sp.jedit.print.BufferPrinter1_7
-
public class BufferPrinter1_7 extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description BufferPrinter1_7()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.HashMap<java.lang.Integer,Range>
getCurrentPageRange(View view, Buffer buffer, javax.print.attribute.PrintRequestAttributeSet attributes)
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.
-
-
-
Method Detail
-
pageSetup
public static void pageSetup(View view)
Shows the printer dialog with the page setup tab active, other tabs inactive.- Parameters:
view
- The parent view for the dialog.
-
printPage
protected static void printPage(PrintPreviewModel model)
This is intended for use by the PrintPreview dialog.
-
getPageRanges
public 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.
-
getCurrentPageRange
public static java.util.HashMap<java.lang.Integer,Range> getCurrentPageRange(View view, Buffer buffer, javax.print.attribute.PrintRequestAttributeSet attributes)
-
getDefaultPageFormat
public static java.awt.print.PageFormat getDefaultPageFormat(javax.print.attribute.PrintRequestAttributeSet attributes)
-
-