jgnash.ui.report.compiled
Class PortfolioReport.PortfolioReportTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by jgnash.ui.report.AbstractReportTableModel
          extended by jgnash.ui.report.compiled.PortfolioReport.PortfolioReportTableModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel
Enclosing class:
PortfolioReport

public class PortfolioReport.PortfolioReportTableModel
extends AbstractReportTableModel

See Also:
Serialized Form

Field Summary
private  CurrencyNode baseCurrency
           
private  InvestmentPerformanceSummary performanceSummary
           
private static long serialVersionUID
           
(package private)  boolean verbose
           
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
PortfolioReport.PortfolioReportTableModel(CurrencyNode baseCurrency)
           
 
Method Summary
 java.lang.Class<?> getColumnClass(int columnIndex)
           
 int getColumnCount()
           
 ColumnHeaderStyle getColumnHeaderStyle(int columnIndex)
           
 java.lang.String getColumnName(int columnIndex)
           
 ColumnStyle getColumnStyle(int columnIndex)
           
 CurrencyNode getCurrency()
           
 int getRowCount()
           
 java.lang.Object getValueAt(int row, int col)
           
 boolean isColumnFixedWidth(int columnIndex)
          Return true if the column should be fixed width
 
Methods inherited from class jgnash.ui.report.AbstractReportTableModel
getColumnPrototypeValueAt
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

verbose

boolean verbose

baseCurrency

private CurrencyNode baseCurrency

performanceSummary

private InvestmentPerformanceSummary performanceSummary
Constructor Detail

PortfolioReport.PortfolioReportTableModel

PortfolioReport.PortfolioReportTableModel(CurrencyNode baseCurrency)
Method Detail

getColumnCount

public int getColumnCount()

getRowCount

public int getRowCount()

getValueAt

public java.lang.Object getValueAt(int row,
                                   int col)

getColumnName

public java.lang.String getColumnName(int columnIndex)
Specified by:
getColumnName in interface javax.swing.table.TableModel
Overrides:
getColumnName in class javax.swing.table.AbstractTableModel

getColumnClass

public java.lang.Class<?> getColumnClass(int columnIndex)
Specified by:
getColumnClass in interface javax.swing.table.TableModel
Overrides:
getColumnClass in class javax.swing.table.AbstractTableModel

getCurrency

public CurrencyNode getCurrency()
Specified by:
getCurrency in class AbstractReportTableModel

getColumnStyle

public ColumnStyle getColumnStyle(int columnIndex)
Specified by:
getColumnStyle in class AbstractReportTableModel

getColumnHeaderStyle

public ColumnHeaderStyle getColumnHeaderStyle(int columnIndex)
Specified by:
getColumnHeaderStyle in class AbstractReportTableModel

isColumnFixedWidth

public boolean isColumnFixedWidth(int columnIndex)
Description copied from class: AbstractReportTableModel
Return true if the column should be fixed width

Overrides:
isColumnFixedWidth in class AbstractReportTableModel
Parameters:
columnIndex - column to verify
Returns:
true if fixed width