jigcell.compare.cellcycle
Class CellCycleTransformView.TransformModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by jigcell.compare.ui.BasicTable.BasicTableModel
          extended by jigcell.compare.views.SeriesView.SeriesModel
              extended by jigcell.compare.views.EditableSeriesView.EditableSeriesModel
                  extended by jigcell.compare.cellcycle.CellCycleTransformView.TransformModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel
Enclosing class:
CellCycleTransformView

protected class CellCycleTransformView.TransformModel
extends EditableSeriesView.EditableSeriesModel

Table model for the data in an ModelDataSeriesView.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class jigcell.compare.ui.BasicTable.BasicTableModel
BasicTable.BasicTableModel.Marker
 
Field Summary
 BasicTable.BasicTableModel.Marker COLUMN_MODELVALUE
          Transform value column
 BasicTable.BasicTableModel.Marker COLUMN_TRANSFORM
          Transform column
 BasicTable.BasicTableModel.Marker COLUMN_TYPE
          Type column
protected static java.lang.String MESSAGE_PLOTNODATAERROR
          Error message when plotting a cell with no data
protected static java.lang.String PREFIX_EXPERIMENT
          Prefix for experimental data
protected static java.lang.String PREFIX_TRANSFORM
          Prefix for transform data
 
Fields inherited from class jigcell.compare.views.SeriesView.SeriesModel
COLUMN_COMMENT, COLUMN_NAME, COLUMN_VALUE, generators
 
Fields inherited from class jigcell.compare.ui.BasicTable.BasicTableModel
columnWeights, markers
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
CellCycleTransformView.TransformModel()
          Creates a new table model.
 
Method Summary
 void editCellAt(int row, int column)
          Starts editing a cell in the table.
 void fillRangeAt(int row, int column, int startRow, int endRow)
          Fills along a column.
 java.lang.Object getValueAt(int row, int column)
          A value in the table.
 boolean isCellEditable(int row, int column)
          Whether a value in the table is editable.
protected  void plotCellAt(int row, int column)
          Plots the data contained in a table cell.
 void setValueAt(java.lang.Object value, int row, int column)
          Sets a value in the table.
 void viewCellAt(int row, int column)
          Starts viewing a cell in the table but does not allow editing.
 
Methods inherited from class jigcell.compare.views.EditableSeriesView.EditableSeriesModel
computeTypeForPlot
 
Methods inherited from class jigcell.compare.views.SeriesView.SeriesModel
getGenerators, getRowCount, setGenerators
 
Methods inherited from class jigcell.compare.ui.BasicTable.BasicTableModel
fillRange, fillSelected, findColumn, getColumnClass, getColumnCount, getColumnName, getColumnWeights, setColumnMarkers, setColumnWeights
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PREFIX_EXPERIMENT

protected static final java.lang.String PREFIX_EXPERIMENT
Prefix for experimental data

See Also:
Constant Field Values

PREFIX_TRANSFORM

protected static final java.lang.String PREFIX_TRANSFORM
Prefix for transform data

See Also:
Constant Field Values

MESSAGE_PLOTNODATAERROR

protected static final java.lang.String MESSAGE_PLOTNODATAERROR
Error message when plotting a cell with no data

See Also:
Constant Field Values

COLUMN_MODELVALUE

public final BasicTable.BasicTableModel.Marker COLUMN_MODELVALUE
Transform value column


COLUMN_TRANSFORM

public final BasicTable.BasicTableModel.Marker COLUMN_TRANSFORM
Transform column


COLUMN_TYPE

public final BasicTable.BasicTableModel.Marker COLUMN_TYPE
Type column

Constructor Detail

CellCycleTransformView.TransformModel

public CellCycleTransformView.TransformModel()
Creates a new table model.

Method Detail

editCellAt

public void editCellAt(int row,
                       int column)
Starts editing a cell in the table.

Overrides:
editCellAt in class EditableSeriesView.EditableSeriesModel
Parameters:
row - Row
column - Column

fillRangeAt

public void fillRangeAt(int row,
                        int column,
                        int startRow,
                        int endRow)
Fills along a column.

Overrides:
fillRangeAt in class BasicTable.BasicTableModel
Parameters:
row - Row
column - Column
startRow - First row
endRow - Last row

getValueAt

public java.lang.Object getValueAt(int row,
                                   int column)
A value in the table.

Specified by:
getValueAt in interface javax.swing.table.TableModel
Overrides:
getValueAt in class SeriesView.SeriesModel
Parameters:
row - Row
column - Column

isCellEditable

public boolean isCellEditable(int row,
                              int column)
Whether a value in the table is editable.

Specified by:
isCellEditable in interface javax.swing.table.TableModel
Overrides:
isCellEditable in class EditableSeriesView.EditableSeriesModel
Parameters:
row - Row
column - Column

setValueAt

public void setValueAt(java.lang.Object value,
                       int row,
                       int column)
Sets a value in the table.

Specified by:
setValueAt in interface javax.swing.table.TableModel
Overrides:
setValueAt in class EditableSeriesView.EditableSeriesModel
Parameters:
value - Value
row - Row
column - Column

viewCellAt

public void viewCellAt(int row,
                       int column)
Starts viewing a cell in the table but does not allow editing.

Overrides:
viewCellAt in class SeriesView.SeriesModel
Parameters:
row - Row
column - Column

plotCellAt

protected void plotCellAt(int row,
                          int column)
                   throws PlotException
Plots the data contained in a table cell.

Overrides:
plotCellAt in class EditableSeriesView.EditableSeriesModel
Parameters:
row - Row
column - Column
Throws:
PlotException