Package repast.simphony.chart2.wizard
Class SeriesConfigTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
repast.simphony.chart2.wizard.SeriesConfigTableModel
- All Implemented Interfaces:
Serializable
,TableModel
TableModel for configuring series in a time series chart.
- Author:
- Nick Collier
- See Also:
-
Field Summary
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
-
Constructor Summary
ConstructorDescriptionSeriesConfigTableModel
(TimeSeriesChartDescriptor descriptor, DataSetDescriptor data) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets whether or not any series has been checked to included.void
apply
(TimeSeriesChartDescriptor descriptor) Class<?>
getColumnClass
(int col) int
getColumnName
(int column) int
getValueAt
(int row, int col) boolean
isCellEditable
(int row, int col) void
setValueAt
(Object val, int row, int col) Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
-
Field Details
-
INCLUDE_COL
public static final int INCLUDE_COL- See Also:
-
-
Constructor Details
-
SeriesConfigTableModel
-
-
Method Details
-
getColumnClass
- Specified by:
getColumnClass
in interfaceTableModel
- Overrides:
getColumnClass
in classAbstractTableModel
-
isCellEditable
public boolean isCellEditable(int row, int col) - Specified by:
isCellEditable
in interfaceTableModel
- Overrides:
isCellEditable
in classAbstractTableModel
-
getColumnCount
public int getColumnCount() -
getColumnName
- Specified by:
getColumnName
in interfaceTableModel
- Overrides:
getColumnName
in classAbstractTableModel
-
getRowCount
public int getRowCount() -
setValueAt
- Specified by:
setValueAt
in interfaceTableModel
- Overrides:
setValueAt
in classAbstractTableModel
-
getValueAt
-
anySeriesIncluded
public boolean anySeriesIncluded()Gets whether or not any series has been checked to included.- Returns:
- true if any have been checked, otherwise false.
-
apply
-