tpp
Class ProjectionTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by tpp.ProjectionTableModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel

public class ProjectionTableModel
extends javax.swing.table.AbstractTableModel

See Also:
Serialized Form

Field Summary
static int NAME_COL
           
static int SEQ_COL
           
static int SIG_COL
           
static int X_COL
           
static int Y_COL
           
 
Constructor Summary
ProjectionTableModel(ScatterPlotModel tpp)
           
 
Method Summary
 boolean bipolarColorColumn(int col)
          Should this column be colored along a bipolar spectrum?
 java.lang.Class getColumnClass(int col)
           
 int getColumnCount()
           
 java.lang.String getColumnName(int col)
           
 int getRowCount()
           
 java.lang.Object getValueAt(int row, int col)
           
 boolean isCellEditable(int row, int col)
           
 void setModel(TPPModel tpp)
           
 void setValueAt(java.lang.Object value, int row, int col)
           
 boolean unipolarColorColumn(int col)
          Should this column be colored along a unipolar spectrum?
 
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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SEQ_COL

public static final int SEQ_COL
See Also:
Constant Field Values

NAME_COL

public static final int NAME_COL
See Also:
Constant Field Values

X_COL

public static final int X_COL
See Also:
Constant Field Values

Y_COL

public static final int Y_COL
See Also:
Constant Field Values

SIG_COL

public static final int SIG_COL
See Also:
Constant Field Values
Constructor Detail

ProjectionTableModel

public ProjectionTableModel(ScatterPlotModel tpp)
Method Detail

setModel

public void setModel(TPPModel tpp)

getRowCount

public int getRowCount()

getValueAt

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

setValueAt

public void setValueAt(java.lang.Object value,
                       int row,
                       int col)
Specified by:
setValueAt in interface javax.swing.table.TableModel
Overrides:
setValueAt in class javax.swing.table.AbstractTableModel

getColumnCount

public int getColumnCount()

getColumnName

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

isCellEditable

public boolean isCellEditable(int row,
                              int col)
Specified by:
isCellEditable in interface javax.swing.table.TableModel
Overrides:
isCellEditable in class javax.swing.table.AbstractTableModel

getColumnClass

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

bipolarColorColumn

public boolean bipolarColorColumn(int col)
Should this column be colored along a bipolar spectrum?


unipolarColorColumn

public boolean unipolarColorColumn(int col)
Should this column be colored along a unipolar spectrum?