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

public abstract class AbstractTableOutput extends Object implements ITableOutput
Since:
1.0 Jul 2, 2008, 1.0
Version:
%I%, %G%
Author:
Steph GAUDRY
  • Field Details

    • pageCounterFormat

      protected EPageCounterFormat pageCounterFormat
    • pageOrientation

      protected EPageOrientation pageOrientation
    • displayDate

      protected boolean displayDate
    • textPosition

      protected ETextLocation textPosition
    • table

      protected org.jdesktop.swingx.JXTable table
    • selectedColumns

      protected List<TableColumn> selectedColumns
    • printTitle

      protected String printTitle
    • dialogOwner

      protected JFrame dialogOwner
    • printAllRows

      protected boolean printAllRows
    • fitToPageWidth

      protected boolean fitToPageWidth
    • authorName

      protected String authorName
  • Constructor Details

    • AbstractTableOutput

      public AbstractTableOutput()
  • Method Details

    • getPageCounterFormat

      public EPageCounterFormat getPageCounterFormat()
      Returns:
      the pageCounterFormat
    • setPageCounterFormat

      public void setPageCounterFormat(EPageCounterFormat pageCounterFormat)
      Parameters:
      pageCounterFormat - the pageCounterFormat to set
    • getPageOrientation

      public EPageOrientation getPageOrientation()
      Returns:
      the pageOrientation
    • setPageOrientation

      public void setPageOrientation(EPageOrientation pageOrientation)
      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

      public ETextLocation getTextPosition()
      Returns:
      the textPosition
    • setTextPosition

      public void setTextPosition(ETextLocation textPosition)
      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

      public List<TableColumn> getSelectedColumns()
      Returns:
      the selectedColumns
    • setSelectedColumns

      public void setSelectedColumns(List<TableColumn> selectedColumns)
      Parameters:
      selectedColumns - the selectedColumns to set
    • getPrintTitle

      public String getPrintTitle()
      Returns:
      the printTitle
    • setPrintTitle

      public void setPrintTitle(String printTitle)
      Parameters:
      printTitle - the printTitle to set
    • getDgvLayoutOptionsDialogTitle

      public String getDgvLayoutOptionsDialogTitle()
      Returns:
      the dgvLayoutOptionsDialogTitle
    • setDgvLayoutOptionsDialogTitle

      public void setDgvLayoutOptionsDialogTitle(String dgvLayoutOptionsDialogTitle)
      Parameters:
      dgvLayoutOptionsDialogTitle - the dgvLayoutOptionsDialogTitle to set
    • getDialogOwner

      public JFrame getDialogOwner()
      Returns:
      the dialogOwner
    • setDialogOwner

      public void setDialogOwner(JFrame dialogOwner)
      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

      public String getAuthorName()
      Returns:
      the authorName
    • setAuthorName

      public void setAuthorName(String authorName)
      Parameters:
      authorName - the authorName to set
    • setLayoutOptions

      protected boolean setLayoutOptions(String outputTitle)
    • print

      public abstract void print(org.jdesktop.swingx.JXTable table)
      Specified by:
      print in interface ITableOutput