|
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.WrappedPrint
li.netcat.print.util.BackgroundPrint
This Print
can be used to paint a background behind an other Print
.
Constructor Summary | |
BackgroundPrint(Print print,
java.awt.Color background)
Constructs a new BackgroundPrint using the given print and the given color. |
Method Summary | |
java.awt.Color |
getBackground()
Returns the current beckground property. |
PrintIterator |
getPrintIterator()
Factory method, that produces a PrintIerator . |
void |
setBackground(java.awt.Color background)
Sets the given background. |
Methods inherited from class li.netcat.print.util.WrappedPrint |
getPreferredSize, getPrint, setPrint |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BackgroundPrint(Print print, java.awt.Color background)
BackgroundPrint
using the given print and the given color.
print
- The print that is intended to have a background, not null
.background
- The background color, can be null
.Method Detail |
public java.awt.Color getBackground()
public void setBackground(java.awt.Color background)
background
- The background color, can be null
.public PrintIterator getPrintIterator()
Print
PrintIerator
. The PrintIterator
is used like an enumeration to generate all Print
s.
getPrintIterator
in interface Print
getPrintIterator
in class WrappedPrint
|
ReportCat 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |