Home » openjdk-7 » javax » swing » [javadoc | source]
javax.swing
class: JTable.ThreadSafePrintable [javadoc | source]
java.lang.Object
   javax.swing.JTable$ThreadSafePrintable

All Implemented Interfaces:
    Printable

A Printable implementation that wraps another Printable, making it safe for printing on another thread.
Constructor:
 public ThreadSafePrintable(Printable printDelegate) 
    Construct a ThreadSafePrintable around the given delegate.
    Parameters:
    printDelegate - the Printable to delegate to
Method from javax.swing.JTable$ThreadSafePrintable Summary:
print
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.swing.JTable$ThreadSafePrintable Detail:
 public int print(Graphics graphics,
    PageFormat pageFormat,
    int pageIndex) throws PrinterException 
    Prints the specified page into the given Graphics context, in the specified format.

    Regardless of what thread this method is called on, all calls into the delegate will be done on the event-dispatch thread.