| java.lang.Object org.glasser.swing.table.AbstractColumnManager org.glasser.swing.table.ArrayColumnManager
ArrayColumnManager | public class ArrayColumnManager extends AbstractColumnManager (Code) | | This is a ColumnManager implementation that assumes each row of a table
is contained in an Object array, with each element of the array mapping to the
corresponding column of the table.
author: Dave Glasser |
Method Summary | |
public Object | getValueAt(int rowIndex, int columnIndex, Object rowObject) The rowObject passed into this method is assumed to be an object array that contains
the data for a single row of the table. | public static void | main(String[] args) Launches a small program demonstrating the use of this class. | public void | setValueAt(Object newCellValue, int rowIndex, int columnIndex, Object rowObject) The rowObject passed into this method is assumed to be an object array that contains
the data for a single row of the table. |
ArrayColumnManager | public ArrayColumnManager(String[] columnNames, Class[] columnClasses)(Code) | | |
getValueAt | public Object getValueAt(int rowIndex, int columnIndex, Object rowObject)(Code) | | The rowObject passed into this method is assumed to be an object array that contains
the data for a single row of the table.
|
main | public static void main(String[] args) throws Exception(Code) | | Launches a small program demonstrating the use of this class.
|
setValueAt | public void setValueAt(Object newCellValue, int rowIndex, int columnIndex, Object rowObject)(Code) | | The rowObject passed into this method is assumed to be an object array that contains
the data for a single row of the table.
|
|
|