|
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.InsetsPrint
Implementation of a Print
that adds insets to a given Print
.
Constructor Summary | |
InsetsPrint(Print print,
java.awt.Insets insets)
Constructs a new InsetsPrint with the given print and the given insets. |
Method Summary | |
java.awt.Insets |
getInsets()
Returns a copy of the instes. |
java.awt.Dimension |
getPreferredSize(java.awt.Graphics g)
Returns the preferred size of the Print . |
PrintIterator |
getPrintIterator()
Factory method, that produces a PrintIerator . |
void |
setInsets(java.awt.Insets insets)
Sets the insets of the target. |
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 InsetsPrint(Print print, java.awt.Insets insets)
InsetsPrint
with the given print and the given insets.
print
- The print that gets insets.insets
- The definition of the insets.Method Detail |
public java.awt.Insets getInsets()
public void setInsets(java.awt.Insets insets)
insets
- The new value of insets, can be null
.public java.awt.Dimension getPreferredSize(java.awt.Graphics g)
Print
Print
.
getPreferredSize
in interface Print
getPreferredSize
in class WrappedPrint
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 |