com.jFormTK
Class PrintUtilities

java.lang.Object
  extended by com.jFormTK.PrintUtilities
All Implemented Interfaces:
JConstants, java.awt.print.Printable

public class PrintUtilities
extends java.lang.Object
implements java.awt.print.Printable, JConstants

Author:
Rob MacGrogan This class was downloaded from the following Blog: http://www.developerdotstar.com/community/node/124

Field Summary
 
Fields inherited from interface java.awt.print.Printable
NO_SUCH_PAGE, PAGE_EXISTS
 
Fields inherited from interface com.jFormTK.JConstants
__, _AB, _AB_, _AField, _B, _BField, _CField, _CIField, _DField, _EU_, _H, _HEIGHT, _HEIGHT_INV, _HField, _I, _IField, _LField, _MField, _NField, _NotRequired, _PField, _PIField, _QField, _Required, _RField, _TAField, _TField, _WIDTH, _WIDTH_INV, _XField, AB, APP_TRACE_FOCUS, APP_TRACE_GET, APP_TRACE_SET, B_, BAR, BAR_, BB, BH, BI, BREAKPOINT_FOCUS, BREAKPOINT_GET, BREAKPOINT_SET, BVB, C_QUOTE, CLOSE, CLOSE_BRACKET, COLORS_DELIMITER, COMMA, COMMA_, D_ELEMENT, D_ELEMENT_N, D_ELEMENT_N1, D_ELEMENT_N2, D_ELEMENT_N3, D_FIELDS, D_FIELDS_N, D_FIELDS_N1, D_FIELDS_N2, D_FIELDS_N3, D_ITEMS, DASH, DOT, EOL, EOP, EOS, FIELD_TRACE_FOCUS, FIELD_TRACE_GET, FIELD_TRACE_SET, FONT_DELIMITER, H_, HB, HH, HI, I_, IB, IH, II, JLAF_DELIMITER, LF, LISTBRACKET, NO, OPEN, OPEN_BRACKET, pCheckboxGroup, QUOTE, SPACE_, TAB, YES
 
Constructor Summary
PrintUtilities(java.awt.Component componentToBePrinted)
           
 
Method Summary
 void print()
           
 int print(java.awt.Graphics g, java.awt.print.PageFormat pf, int pageIndex)
           
static void printComponent(java.awt.Component c)
           
static void XXXdisableDoubleBuffering(java.awt.Component c)
           
static void XXXenableDoubleBuffering(java.awt.Component c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrintUtilities

public PrintUtilities(java.awt.Component componentToBePrinted)
Method Detail

printComponent

public static void printComponent(java.awt.Component c)

print

public void print()

print

public int print(java.awt.Graphics g,
                 java.awt.print.PageFormat pf,
                 int pageIndex)
Specified by:
print in interface java.awt.print.Printable

XXXdisableDoubleBuffering

public static void XXXdisableDoubleBuffering(java.awt.Component c)

XXXenableDoubleBuffering

public static void XXXenableDoubleBuffering(java.awt.Component c)