|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.gui.swt.print.PrintManager
The PrintManager class encapsulates the complete printing
process. This is useful since the print functionality is required from
different places, e.g. print preview, page setup or directly from the
application frame.
| Constructor Summary | |
PrintManager(org.eclipse.swt.widgets.Composite parent)
Creates a new PrintManager instance for the given parent. |
|
PrintManager(org.eclipse.swt.widgets.Shell parentShell)
Creates a new PrintManager instance for the given Shell |
|
| Method Summary | |
void |
print(VisualGraphView vgView,
BasePageFormat bpf)
Prints the given visual graph view to the composite specified in the constructor, using the given page format. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PrintManager(org.eclipse.swt.widgets.Composite parent)
parent - the parent composite for the used PrintDialogpublic PrintManager(org.eclipse.swt.widgets.Shell parentShell)
parentShell - the parent shell for the used PrintDialog| Method Detail |
public final void print(VisualGraphView vgView,
BasePageFormat bpf)
vgView - the visual graph view to printbpf - the page format used for printing
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||