|
JComponentPack 1.5.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.zfqjava.swing.PrintFactory
public class PrintFactory
PrintFactory create Printable for print.
| Field Summary | |
|---|---|
static String |
CENTER_MARGIN
Key for the center margin. |
static String |
FIT_HEIGHT
Key for the fit height. |
static String |
FIT_WIDTH
Key for the fit width. |
static String |
FOOTER_ALIGNMENT
Key for the footer alignment. |
static String |
FOOTER_FONT
Key for the footer font. |
static String |
FOOTER_FORMAT
Key for the footer format. |
static String |
FOOTER_ICON
Key for the footer icon. |
static String |
FOOTER_ICON_ALIGNMENT
Key for the footer icon alignment. |
static String |
FOOTER_MARGIN
Key for the footer margin. |
static String |
FOOTER_TEXT_ALIGNMENT
Key for the footer text alignment. |
static String |
HEADER_ALIGNMENT
Key for the header alignment. |
static String |
HEADER_FONT
Key for the header font. |
static String |
HEADER_FORMAT
Key for the header format. |
static String |
HEADER_ICON
Key for the header icon. |
static String |
HEADER_ICON_ALIGNMENT
Key for the header icon alignment. |
static String |
HEADER_MARGIN
Key for the header margin. |
static String |
HEADER_TEXT_ALIGNMENT
Key for the header text alignment. |
static String |
HORIZONTAL_ALIGNMENT
Key for the page horizontal alignment. |
static String |
KEEP_ASPECT_RADIO
Identifies keep the aspect radio for fit width or fit height. |
static String |
MARGIN
Key for the page margin. |
static String |
ORIENTATION
Key for the page orientation. |
static String |
SHOW_FOOTER_LINE
Key for the footer line. |
static String |
SHOW_HEADER_LINE
Key for the header line. |
static String |
TABLE_PRINT_AREA
Key for the table print area. |
static String |
TABLE_SHOW_COLUMN_HEADER
Key for the table column header. |
static String |
TABLE_SHOW_GRID_LINE
Key for the table grid line. |
static String |
TABLE_SHOW_ROW_HEADER
Key for the table row header. |
static String |
VERTICAL_ALIGNMENT
Key for the page vertical alignment. |
| Method Summary | |
|---|---|
static Printable |
createPrintable(Component comp,
Map map)
Creates a Printable for the specified component. |
static Printable |
createPrintable(Image image,
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 String MARGIN
Type: java.awt.Insets
public static final String ORIENTATION
Value:
public static final String HORIZONTAL_ALIGNMENT
Value:
public static final String VERTICAL_ALIGNMENT
Value:
public static final String HEADER_MARGIN
Type: java.awt.Insets
public static final String CENTER_MARGIN
Type: java.awt.Insets
public static final String FOOTER_MARGIN
Type: java.awt.Insets
public static final String HEADER_FONT
Type: java.awt.Font
public static final String FOOTER_FONT
Type: java.awt.Font
public static final String HEADER_FORMAT
Type: java.text.MessageFormat
public static final String FOOTER_FORMAT
Type: java.text.MessageFormat
public static final String HEADER_ICON
Type: javax.swing.Icon
public static final String FOOTER_ICON
Type: javax.swing.Icon
public static final String HEADER_ALIGNMENT
Value:
public static final String FOOTER_ALIGNMENT
Value:
public static final String HEADER_TEXT_ALIGNMENT
Value:
public static final String FOOTER_TEXT_ALIGNMENT
Value:
public static final String HEADER_ICON_ALIGNMENT
Value:
public static final String FOOTER_ICON_ALIGNMENT
Value:
public static final String SHOW_HEADER_LINE
Type: java.lang.Boolean
public static final String SHOW_FOOTER_LINE
Type: java.lang.Boolean
public static final String TABLE_SHOW_ROW_HEADER
Type: java.lang.Boolean
public static final String TABLE_SHOW_COLUMN_HEADER
Type: java.lang.Boolean
public static final String TABLE_SHOW_GRID_LINE
Type: java.lang.Boolean
public static final String TABLE_PRINT_AREA
Type: com.zfqjava.swing.cell.Cell
public static final String FIT_WIDTH
Type: java.lang.Boolean
public static final String FIT_HEIGHT
Type: java.lang.Boolean
public static final String KEEP_ASPECT_RADIO
Type: java.lang.Boolean
| Method Detail |
|---|
public static Printable createPrintable(Image image,
Map map)
Printable for the specified image.
image - the specified imagemap - the print properties
Printable for print
public static Printable createPrintable(Component comp,
Map map)
Printable for the specified component.
comp - the specified componentmap - the print properties
Printable for print
|
JComponentPack 1.5.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||