|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.zfqjava.swing.PrintFactory
PrintFactory
create Printable
for print.
Field Summary | |
static java.lang.String |
FOOTER_ALIGNMENT
Key for the footer alignment. |
static java.lang.String |
FOOTER_FONT
Key for the footer font. |
static java.lang.String |
FOOTER_FORMAT
Key for the footer format. |
static java.lang.String |
FOOTER_MARGIN
Key for the footer margin. |
static java.lang.String |
HEADER_ALIGNMENT
Key for the header alignment. |
static java.lang.String |
HEADER_FONT
Key for the header font. |
static java.lang.String |
HEADER_FORMAT
Key for the header format. |
static java.lang.String |
HEADER_MARGIN
Key for the header margin. |
static java.lang.String |
HORIZONTAL_ALIGNMENT
Key for the page horizontal alignment. |
static java.lang.String |
MARGIN
Key for the page margin. |
static java.lang.String |
ORIENTATION
Key for the page orientation. |
static java.lang.String |
VERTICAL_ALIGNMENT
Key for the page vertical alignment. |
Method Summary | |
static java.awt.print.Printable |
createPrintable(java.awt.Component comp,
java.util.Map map)
Creates a Printable for the specified component. |
static java.awt.print.Printable |
createPrintable(java.awt.Image image,
java.util.Map map)
Creates a Printable for the specified image. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String MARGIN
public static final java.lang.String ORIENTATION
public static final java.lang.String HORIZONTAL_ALIGNMENT
public static final java.lang.String VERTICAL_ALIGNMENT
public static final java.lang.String HEADER_MARGIN
public static final java.lang.String FOOTER_MARGIN
public static final java.lang.String HEADER_FONT
public static final java.lang.String FOOTER_FONT
public static final java.lang.String HEADER_FORMAT
public static final java.lang.String FOOTER_FORMAT
public static final java.lang.String HEADER_ALIGNMENT
public static final java.lang.String FOOTER_ALIGNMENT
Method Detail |
public static java.awt.print.Printable createPrintable(java.awt.Image image, java.util.Map map)
Printable
for the specified image.image
- the specified imagemap
- the print propertiesPrintable
for printpublic static java.awt.print.Printable createPrintable(java.awt.Component comp, java.util.Map map)
Printable
for the specified component.comp
- the specified componentmap
- the print propertiesPrintable
for print
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |