|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.genedavissoftware.printing.GDSPrinting
The parent of all classes used for printing. It provides methods for
displaying footers, headers and page numbers on the top or bottom of
the page.
This will likely be the last class to be finished, because placement
on the page, and makeing the display look good in the preview will take
lots of work. I'm sure I'll finish it eventually
| Field Summary | |
static int |
BOTTOM
Align bottom |
static int |
CENTER
Align center |
static int |
LEFT
Align left |
static int |
RIGHT
Align right |
static int |
TOP
Align top |
| Constructor Summary | |
GDSPrinting()
|
|
| Method Summary | |
void |
setFooter(java.lang.String head)
Set the text for the footer. |
void |
setFooterAlignment(int align)
Change the horizontal alignment of the footer. |
void |
setHeader(java.lang.String head)
Set the text for the header. |
void |
setHeaderAlignment(int align)
Change the horizontal alignment of the header. |
void |
setInitialPageNumber(int page)
Change the initial page number. |
void |
setPageNumberHorizontalAlignment(int align)
Change the horizontal alignment of the page number. |
void |
setPageNumberVerticalAlignment(int align)
Change the vertical alignment of the page number. |
void |
showFooter(boolean show)
Choose whether to display the current footer. |
void |
showHeader(boolean show)
Choose whether to display the current header. |
void |
showPageNumber(boolean show)
Choose whether to display the current page number. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int LEFT
public static final int CENTER
public static final int RIGHT
public static final int TOP
public static final int BOTTOM
| Constructor Detail |
public GDSPrinting()
| Method Detail |
public void setInitialPageNumber(int page)
public void showPageNumber(boolean show)
public void setPageNumberHorizontalAlignment(int align)
public void setPageNumberVerticalAlignment(int align)
public void setHeader(java.lang.String head)
public void showHeader(boolean show)
public void setHeaderAlignment(int align)
public void setFooter(java.lang.String head)
public void showFooter(boolean show)
public void setFooterAlignment(int align)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||