| Modifier and Type | Field and Description |
|---|---|
protected String |
date |
protected SimpleDateFormat |
df |
protected boolean |
fitInPage |
protected static String |
PAGES_READY |
protected static String |
PREPARING_PRINTING_PAGES |
protected int |
totalWidth |
NO_SUCH_PAGE, PAGE_EXISTS| Constructor and Description |
|---|
PrintableTable(Table t,
boolean scaleToFit) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelPrinting() |
int |
configurePage() |
void |
dispose() |
boolean |
fitInPage() |
boolean |
fitInPage(int[] columnWidths) |
int |
getAvailableWidth() |
Vector |
getColumnsToPrintingByOrder() |
int |
getFontSize() |
PageFormat |
getPageFormat() |
int |
getPagesNumber() |
int |
getTotalWidth() |
boolean |
isPrinting() |
void |
moveColumnLeft(Object col) |
void |
moveColumnRight(Object col) |
boolean |
print() |
int |
print(Graphics g,
PageFormat pf,
int pageIndex) |
boolean |
print(String jobName) |
void |
setFontSize(int fontSize) |
int |
setPageFormat(PageFormat pf) |
void |
setPageTitles(String t) |
void |
setPaintGrid(boolean paint) |
void |
setPaintRowNumber(boolean paintRowNumber) |
void |
setPrintingColumns(Vector cols) |
void |
setPrintingColumns(Vector cols,
boolean prepare) |
void |
setRemarkLine(boolean remark) |
protected static final String PAGES_READY
protected static final String PREPARING_PRINTING_PAGES
protected boolean fitInPage
protected int totalWidth
protected String date
protected SimpleDateFormat df
public PrintableTable(Table t, boolean scaleToFit)
public void setRemarkLine(boolean remark)
public void cancelPrinting()
public void setPageTitles(String t)
public PageFormat getPageFormat()
public int setPageFormat(PageFormat pf)
public boolean fitInPage()
public boolean fitInPage(int[] columnWidths)
public int getTotalWidth()
public int getAvailableWidth()
public void setPaintGrid(boolean paint)
public void setPaintRowNumber(boolean paintRowNumber)
public int getPagesNumber()
public int getFontSize()
public void setFontSize(int fontSize)
public int configurePage()
public void setPrintingColumns(Vector cols)
public void setPrintingColumns(Vector cols, boolean prepare)
public void moveColumnLeft(Object col)
public void moveColumnRight(Object col)
public Vector getColumnsToPrintingByOrder()
public boolean isPrinting()
public int print(Graphics g, PageFormat pf, int pageIndex)
Copyright © 2016 Imatia Innovation S.L.. All rights reserved.