Public Member Functions | |
ComponentPrinter (Component componentToBePrinted) | |
void | print (String jobName) |
int | print (Graphics g, PageFormat pageFormat, int pageIndex) |
Static Public Member Functions | |
static void | printComponent (Component c) |
static void | printComponent (Component c, String jobName) |
static void | disableDoubleBuffering (Component c) |
static void | enableDoubleBuffering (Component c) |
Private Attributes | |
Component | componentToBePrinted |
final int | plotHeight = 200 |
Definition at line 37 of file ComponentPrinter.java.
|
Creates new printable "component"
Definition at line 55 of file ComponentPrinter.java. Referenced by ikayaki.util.ComponentPrinter.printComponent(). |
|
Definition at line 134 of file ComponentPrinter.java. Referenced by ikayaki.util.ComponentPrinter.print(). |
|
Definition at line 139 of file ComponentPrinter.java. Referenced by ikayaki.util.ComponentPrinter.print(). |
|
Absolutely chaotic printing mechanism. Spilts component in pages and prevents last 400 pixels on last page to split awfully (we only use this for PrintPanel and last 400 pixels are Plots, so DONT use this in any other component printing :)
Definition at line 108 of file ComponentPrinter.java. References ikayaki.util.ComponentPrinter.componentToBePrinted, ikayaki.util.ComponentPrinter.disableDoubleBuffering(), ikayaki.util.ComponentPrinter.enableDoubleBuffering(), and ikayaki.util.ComponentPrinter.plotHeight. |
Here is the call graph for this function:
|
Opens printer dialog and start printing job if we get printer Definition at line 81 of file ComponentPrinter.java. |
|
Static printing command
Definition at line 74 of file ComponentPrinter.java. References ikayaki.util.ComponentPrinter.ComponentPrinter(). |
Here is the call graph for this function:
|
Static printing command
Definition at line 64 of file ComponentPrinter.java. References ikayaki.util.ComponentPrinter.ComponentPrinter(). |
Here is the call graph for this function:
|
Component to be printed Definition at line 42 of file ComponentPrinter.java. Referenced by ikayaki.util.ComponentPrinter.print(). |
|
plots height Definition at line 47 of file ComponentPrinter.java. Referenced by ikayaki.util.ComponentPrinter.print(). |