| java.lang.Object workbench.print.TablePrintPage
TablePrintPage | public class TablePrintPage (Code) | | This class is responsible for keeping a page definition while printing a JTable.
When printing this page, the TablePrintPage assumes that the clipping is set in
a way that it can start printing at 0,0 and can print over the whole Graphics object
This means the caller needs to set the margins according to the page layout.
It is also not checked if the definition actually fits on the graphics context
this calculation needs to be done prior to creating the TablePrintPages
See Also: TablePrinter author: support@sql-workbench.net |
Constructor Summary | |
public | TablePrintPage(JTable source, int startRow, int endRow, int startColumn, int endColumn) | public | TablePrintPage(JTable source, int startRow, int endRow, int startColumn, int endColumn, int[] width) |
TablePrintPage | public TablePrintPage(JTable source, int startRow, int endRow, int startColumn, int endColumn)(Code) | | |
TablePrintPage | public TablePrintPage(JTable source, int startRow, int endRow, int startColumn, int endColumn, int[] width)(Code) | | |
getPageIndex | public int getPageIndex()(Code) | | |
getPageNumberAcross | public int getPageNumberAcross()(Code) | | |
getPageNumberDown | public int getPageNumberDown()(Code) | | |
setColumnHeaders | public void setColumnHeaders(String[] headers)(Code) | | |
setColumnWidths | public void setColumnWidths(int[] widths)(Code) | | |
setPageIndex | public void setPageIndex(int aNum)(Code) | | |
setPageNumberAcross | public void setPageNumberAcross(int aNum)(Code) | | |
setPageNumberDown | public void setPageNumberDown(int aNum)(Code) | | |
setSpacing | public void setSpacing(int line, int column)(Code) | | |
|
|