|
ReportCat 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectli.netcat.print.util.PainterPrint
This Print can be used to wrap a Painter as a Print.
| Constructor Summary | |
PainterPrint(Painter painter)
Constructs a new PainterPrint using the given Painter. |
|
| Method Summary | |
Painter |
getPaiter()
Returns the currently installed Paiter. |
java.awt.Dimension |
getPreferredSize(java.awt.Graphics g)
Returns the preferred size of the Print. |
PrintIterator |
getPrintIterator()
Factory method, that produces a PrintIerator. |
void |
setPainter(Painter painter)
Sets the wrapped painter to the given value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PainterPrint(Painter painter)
PainterPrint using the given Painter.
painter - An arbitrary painer object, not null.| Method Detail |
public Painter getPaiter()
Paiter.
Painer.public void setPainter(Painter painter)
painter - An arbitrary painer object, not null.public java.awt.Dimension getPreferredSize(java.awt.Graphics g)
PrintPrint.
getPreferredSize in interface Printg - The relevant Graphics object. It can be used to calculate the widths of strings.
Print.public PrintIterator getPrintIterator()
PrintPrintIerator. The PrintIterator is used like an enumeration to generate all Prints.
getPrintIterator in interface PrintPrintIterator that is able to iterate over the Print.
|
ReportCat 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||