Class AbstractTableOutput
java.lang.Object
be.gaudry.swing.component.table.output.factory.AbstractTableOutput
- All Implemented Interfaces:
ITableOutput
- Direct Known Subclasses:
AbstractColoredTableOutput,CSVTableOutput,ImageTableOutput,PDFTableOutput,PrintTableOutput,TextTableOutput,XLSTableOutput,XMLTableOutput
- Since:
- 1.0 Jul 2, 2008, 1.0
- Version:
- %I%, %G%
- Author:
- Steph GAUDRY
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected JFrameprotected booleanprotected booleanprotected EPageCounterFormatprotected EPageOrientationprotected booleanprotected Stringprotected List<TableColumn>protected org.jdesktop.swingx.JXTableprotected ETextLocation -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.jdesktop.swingx.JXTablegetTable()booleanbooleanbooleanabstract voidprint(org.jdesktop.swingx.JXTable table)voidsetAuthorName(String authorName)voidsetDgvLayoutOptionsDialogTitle(String dgvLayoutOptionsDialogTitle)voidsetDialogOwner(JFrame dialogOwner)voidsetDisplayDate(boolean displayDate)voidsetFitToPageWidth(boolean fitToPageWidth)protected booleansetLayoutOptions(String outputTitle)voidsetPageCounterFormat(EPageCounterFormat pageCounterFormat)voidsetPageOrientation(EPageOrientation pageOrientation)voidsetPrintAllRows(boolean printAllRows)voidsetPrintTitle(String printTitle)voidsetSelectedColumns(List<TableColumn> selectedColumns)voidsetTable(org.jdesktop.swingx.JXTable table)voidsetTextPosition(ETextLocation textPosition)
-
Field Details
-
pageCounterFormat
-
pageOrientation
-
displayDate
protected boolean displayDate -
textPosition
-
table
protected org.jdesktop.swingx.JXTable table -
selectedColumns
-
printTitle
-
dialogOwner
-
printAllRows
protected boolean printAllRows -
fitToPageWidth
protected boolean fitToPageWidth -
authorName
-
-
Constructor Details
-
AbstractTableOutput
public AbstractTableOutput()
-
-
Method Details
-
getPageCounterFormat
- Returns:
- the pageCounterFormat
-
setPageCounterFormat
- Parameters:
pageCounterFormat- the pageCounterFormat to set
-
getPageOrientation
- Returns:
- the pageOrientation
-
setPageOrientation
- Parameters:
pageOrientation- the pageOrientation to set
-
isDisplayDate
public boolean isDisplayDate()- Returns:
- the displayDate
-
setDisplayDate
public void setDisplayDate(boolean displayDate)- Parameters:
displayDate- the displayDate to set
-
getTextPosition
- Returns:
- the textPosition
-
setTextPosition
- Parameters:
textPosition- the textPosition to set
-
getTable
public org.jdesktop.swingx.JXTable getTable()- Returns:
- the table
-
setTable
public void setTable(org.jdesktop.swingx.JXTable table)- Parameters:
table- the table to set
-
getSelectedColumns
- Returns:
- the selectedColumns
-
setSelectedColumns
- Parameters:
selectedColumns- the selectedColumns to set
-
getPrintTitle
- Returns:
- the printTitle
-
setPrintTitle
- Parameters:
printTitle- the printTitle to set
-
getDgvLayoutOptionsDialogTitle
- Returns:
- the dgvLayoutOptionsDialogTitle
-
setDgvLayoutOptionsDialogTitle
- Parameters:
dgvLayoutOptionsDialogTitle- the dgvLayoutOptionsDialogTitle to set
-
getDialogOwner
- Returns:
- the dialogOwner
-
setDialogOwner
- Parameters:
dialogOwner- the dialogOwner to set
-
isPrintAllRows
public boolean isPrintAllRows()- Returns:
- the printAllRows
-
setPrintAllRows
public void setPrintAllRows(boolean printAllRows)- Parameters:
printAllRows- the printAllRows to set
-
isFitToPageWidth
public boolean isFitToPageWidth()- Returns:
- the fitToPageWidth
-
setFitToPageWidth
public void setFitToPageWidth(boolean fitToPageWidth)- Parameters:
fitToPageWidth- the fitToPageWidth to set
-
getAuthorName
- Returns:
- the authorName
-
setAuthorName
- Parameters:
authorName- the authorName to set
-
setLayoutOptions
-
print
public abstract void print(org.jdesktop.swingx.JXTable table)- Specified by:
printin interfaceITableOutput
-