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
Modifier and TypeFieldDescriptionprotected String
protected JFrame
protected boolean
protected boolean
protected EPageCounterFormat
protected EPageOrientation
protected boolean
protected String
protected List<TableColumn>
protected org.jdesktop.swingx.JXTable
protected ETextLocation
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.jdesktop.swingx.JXTable
getTable()
boolean
boolean
boolean
abstract void
print(org.jdesktop.swingx.JXTable table)
void
setAuthorName(String authorName)
void
setDgvLayoutOptionsDialogTitle(String dgvLayoutOptionsDialogTitle)
void
setDialogOwner(JFrame dialogOwner)
void
setDisplayDate(boolean displayDate)
void
setFitToPageWidth(boolean fitToPageWidth)
protected boolean
setLayoutOptions(String outputTitle)
void
setPageCounterFormat(EPageCounterFormat pageCounterFormat)
void
setPageOrientation(EPageOrientation pageOrientation)
void
setPrintAllRows(boolean printAllRows)
void
setPrintTitle(String printTitle)
void
setSelectedColumns(List<TableColumn> selectedColumns)
void
setTable(org.jdesktop.swingx.JXTable table)
void
setTextPosition(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:
print
in interfaceITableOutput
-