ponderToolkit.analyzer.gui.lib.swing.table
Interface TableCell

All Known Implementing Classes:
TableCellImpl

public interface TableCell

Base interface of a sensible table cell


Inner Class Summary
static interface TableCell.Descr
          Interface of a cell field descriptor
 
Method Summary
 java.lang.Class[] getClasses()
           
 java.lang.Class getClassObj(int i)
           
 int getCount()
           
 TableCell.Descr[] getDescrs()
           
 java.lang.String getName(int i)
           
 java.lang.String[] getNames()
           
 java.lang.Object getValue(int i)
           
 java.lang.Object[] getValues()
           
 void setValue(int i, java.lang.Object value)
           
 void setValues(java.lang.Object[] values)
           
 

Method Detail

getCount

public int getCount()
Returns:
the number of fields in the cell

getDescrs

public TableCell.Descr[] getDescrs()
Returns:
an array with the field descriptors

getNames

public java.lang.String[] getNames()
Returns:
an array of the column names of the fields of the cell

getName

public java.lang.String getName(int i)

getClasses

public java.lang.Class[] getClasses()
Returns:
an array with the classes of the fields

getClassObj

public java.lang.Class getClassObj(int i)

getValues

public java.lang.Object[] getValues()
Returns:
an array of all the values

getValue

public java.lang.Object getValue(int i)
Parameters:
i - the field of the cell to get the value of
Returns:
the value of the given field

setValues

public void setValues(java.lang.Object[] values)
Parameters:
an - array with the new values of the cell fields

setValue

public void setValue(int i,
                     java.lang.Object value)
Parameters:
i - the field to set the value at
value - the value to set to the given field