|
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.WrappedPrintIterator
Implementation of a PrintIterator that wraps another PrintIterator.
| Constructor Summary | |
WrappedPrintIterator(PrintIterator printIterator)
Constructs a new WrappedPrintIterator using the given PrintIterator as delegate. |
|
| Method Summary | |
PrintIterator |
getIterator()
Returns the delegate. |
Painter |
getNext(java.awt.Graphics g,
int width,
int height)
This implementation calls directly the delegate. |
boolean |
hasNext()
This implementation calls directly the delegate. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WrappedPrintIterator(PrintIterator printIterator)
WrappedPrintIterator using the given PrintIterator as delegate.
printIterator - The delegate, must not be null.| Method Detail |
public PrintIterator getIterator()
public boolean hasNext()
hasNext in interface PrintIteratortrue if there is at least one more Painter available.
public Painter getNext(java.awt.Graphics g,
int width,
int height)
getNext in interface PrintIteratorg - The relevant Graphics object.width - The maximum available width that the Painter might use. This parameter is always > 0.height - The maximum available height that the Painter might use. This parameter is always > 0.
Painter that is capable of painting the next part of the Print.
|
ReportCat 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||