|
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.BorderPrint
Implementation of the Print interface that can be used to paint a border around
an other Print.
| Constructor Summary | |
BorderPrint(Print print)
Constructs a new BorderPrint using the given Print and the default DrawerPrintBorder. |
|
BorderPrint(Print print,
PrintBorder border)
Constructs a new BorderPrint using the given Print and the given PrintBorder. |
|
| Method Summary | |
PrintBorder |
getBorder()
Returns the border that is used for decoration. |
java.awt.Dimension |
getPreferredSize(java.awt.Graphics g)
Returns the preferred size of the Print. |
PrintIterator |
getPrintIterator()
Factory method, that produces a PrintIerator. |
void |
setBorder(PrintBorder border)
Sets the PrintBorder that is used for decoration. |
void |
setPaintBorderFirst(boolean b)
This property defines whether the border or the Print should be painted first or not. |
| Methods inherited from class li.netcat.print.util.WrappedPrint |
getPrint, setPrint |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BorderPrint(Print print)
BorderPrint using the given Print and the default DrawerPrintBorder.
print - The Print that gets decorated by this BorderPrint.
public BorderPrint(Print print,
PrintBorder border)
BorderPrint using the given Print and the given PrintBorder.
print - The Print that gets decorated by this BorderPrint using the given PrintBorder.border - The PrintBorder that is used for decoration.| Method Detail |
public PrintBorder getBorder()
PrintBorder that is used for decoration.public void setBorder(PrintBorder border)
PrintBorder that is used for decoration.
border - The PrintBorder that is used for decoration.public void setPaintBorderFirst(boolean b)
Print should be painted first or not.
b - Specify true, if the border should be painted first. The default is false.public java.awt.Dimension getPreferredSize(java.awt.Graphics g)
PrintPrint.
getPreferredSize in interface PrintgetPreferredSize in class WrappedPrintpublic PrintIterator getPrintIterator()
PrintPrintIerator. The PrintIterator is used like an enumeration to generate all Prints.
getPrintIterator in interface PrintgetPrintIterator in class WrappedPrint
|
ReportCat 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||