|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectview.PrintComponent.PrintableComponent
private static class PrintComponent.PrintableComponent
Renders an array of compontents to a printable page.
| Field Summary | |
|---|---|
private String |
head
If a header is displayed. |
private Component[] |
show
The components to print. |
| Fields inherited from interface java.awt.print.Printable |
|---|
NO_SUCH_PAGE, PAGE_EXISTS |
| Constructor Summary | |
|---|---|
private |
PrintComponent.PrintableComponent(Component[] display,
String title)
Prints an array of components on consecuetive pages. |
private |
PrintComponent.PrintableComponent(Component display,
String title)
Convenience constructor to allow printing of a single component. |
| Method Summary | |
|---|---|
int |
print(Graphics g2d,
PageFormat a4,
int pagenum)
Called by the printer job to print on the current page. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private Component[] show
private String head
| Constructor Detail |
|---|
private PrintComponent.PrintableComponent(Component display,
String title)
private PrintComponent.PrintableComponent(Component[] display,
String title)
| Method Detail |
|---|
public int print(Graphics g2d,
PageFormat a4,
int pagenum)
print in interface Printable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||