|
Eclipse Draw2d 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.draw2d.PrintOperation | +--org.eclipse.draw2d.PrintFigureOperation
Class responsible for printing Figures.
Constructor Summary | |
protected |
PrintFigureOperation(Printer p)
Constructor for PrintFigureOperation. |
|
PrintFigureOperation(Printer p,
IFigure srcFigure)
Constructor for PrintFigureOperation. |
Method Summary | |
protected IFigure |
getPrintSource()
Returns the printSource. |
protected void |
preparePrintSource()
This method contains all operations performed to sourceFigure prior to being printed. |
protected void |
printPages()
* @see org.eclipse.draw2d.PrintOperation#printPages() |
protected void |
restorePrintSource()
This method contains all operations performed to sourceFigure after being printed. |
protected void |
setPrintSource(IFigure printSource)
Sets the printSource. |
protected void |
setupPrinterGraphicsFor(Graphics g,
IFigure f)
Sets up Graphics object g for IFigure f. |
Methods inherited from class org.eclipse.draw2d.PrintOperation |
cleanup, getFreshPrinterGraphics, getPrinter, getPrintRegion, run, setPrinter, setPrintMargin, setupGraphicsForPage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected PrintFigureOperation(Printer p)
public PrintFigureOperation(Printer p, IFigure srcFigure)
p
- Printer to print onsrcFigure
- Figure to printMethod Detail |
protected void preparePrintSource()
PrintOperation
preparePrintSource
in class PrintOperation
PrintOperation.preparePrintSource()
protected void restorePrintSource()
PrintOperation
restorePrintSource
in class PrintOperation
PrintOperation.restorePrintSource()
protected void printPages()
printPages
in class PrintOperation
protected void setupPrinterGraphicsFor(Graphics g, IFigure f)
g
- The Graphics to setup
* @param f The IFigure used to setup gprotected IFigure getPrintSource()
protected void setPrintSource(IFigure printSource)
printSource
- The printSource to set
|
Eclipse Draw2d 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |