Package adams.gui.visualization.report
Class ReportContainerModel
- java.lang.Object
-
- javax.swing.table.AbstractTableModel
-
- adams.gui.core.AbstractBaseTableModel
-
- adams.gui.visualization.container.ContainerModel<ReportContainerManager,ReportContainer>
-
- adams.gui.visualization.report.ReportContainerModel
-
- All Implemented Interfaces:
CleanUpHandler
,LoggingLevelHandler
,LoggingSupporter
,SpreadSheetSupporter
,DataChangeListener
,Serializable
,TableModel
public class ReportContainerModel extends ContainerModel<ReportContainerManager,ReportContainer>
A model for displaying the currently loaded reports.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class adams.gui.visualization.container.ContainerModel
m_ColumnNameGenerator, m_DisplayDatabaseID, m_DisplayVisibility, m_Generator, m_Manager
-
Fields inherited from class adams.gui.core.AbstractBaseTableModel
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
-
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
-
-
Constructor Summary
Constructors Constructor Description ReportContainerModel(ContainerListManager<ReportContainerManager> manager)
Initializes the model.ReportContainerModel(ReportContainerManager manager)
Initializes the model.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
initialize()
Initializes members.boolean
isCellEditable(int rowIndex, int columnIndex)
Returns whether a cell is editable or not.-
Methods inherited from class adams.gui.visualization.container.ContainerModel
cleanUp, dataChanged, getColumnClass, getColumnCount, getColumnName, getColumnNameGenerator, getColumnWidth, getContainerAt, getDatabaseIDColumn, getDataColumn, getDisplayDatabaseID, getDisplayStringGenerator, getDisplayVisibility, getManager, getRowCount, getValueAt, getVisibilityColumn, setColumnNameGenerator, setDisplayDatabaseID, setDisplayStringGenerator, setDisplayVisibility, setValueAt, showDatabaseIDColumn, showVisibilityColumn, unregister
-
Methods inherited from class adams.gui.core.AbstractBaseTableModel
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, setLoggingLevel, toSpreadSheet, toString
-
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
-
-
-
-
Constructor Detail
-
ReportContainerModel
public ReportContainerModel(ContainerListManager<ReportContainerManager> manager)
Initializes the model.- Parameters:
manager
- the managing object to obtain the data from
-
ReportContainerModel
public ReportContainerModel(ReportContainerManager manager)
Initializes the model.- Parameters:
manager
- the manager to obtain the data from
-
-
Method Detail
-
initialize
protected void initialize()
Initializes members.- Overrides:
initialize
in classContainerModel<ReportContainerManager,ReportContainer>
-
isCellEditable
public boolean isCellEditable(int rowIndex, int columnIndex)
Returns whether a cell is editable or not.- Specified by:
isCellEditable
in interfaceTableModel
- Overrides:
isCellEditable
in classContainerModel<ReportContainerManager,ReportContainer>
- Parameters:
rowIndex
- the rowcolumnIndex
- the column- Returns:
- true if editable
-
-