List of usage examples for javax.swing.table AbstractTableModel subclass-usage
From source file ColorTableModel.java
class ColorTableModel extends AbstractTableModel { Object rowData[][] = { { "1", Boolean.TRUE }, { "2", Boolean.TRUE }, { "3", Boolean.FALSE }, { "4", Boolean.TRUE }, { "5", Boolean.FALSE }, }; String columnNames[] = { "English", "Boolean" };
From source file SimpleTableModel.java
class SimpleTableModel extends AbstractTableModel { private Object[][] data = {}; private String[] columnNames = { "ID", "Name", "Gender" }; private Class[] columnClass = { Integer.class, String.class, String.class }; private Object[][] rowData = new Object[][] { { new Integer(1), "Tom", "Male" }, { new Integer(2), "Jack", "Female" } };
From source file TableValues.java
class TableValues extends AbstractTableModel { public final static int FIRST_NAME = 0; public final static int LAST_NAME = 1;
From source file TableValues.java
class TableValues extends AbstractTableModel { public final static int FIRST_NAME = 0; public final static int LAST_NAME = 1;
From source file SparseTableModel.java
class SparseTableModel extends AbstractTableModel { private Map<Point, Object> lookup; private final int rows;
From source file SimpleTableModel.java
class SimpleTableModel extends AbstractTableModel { private Object[][] data = {}; private String[] columnNames = { "ID", "Name", "Gender" }; private Class[] columnClass = { Integer.class, String.class, String.class }; private Object[][] rowData = new Object[][] { { new Integer(1), "Tom", "Male" }, { new Integer(2), "Jack", "Female" } };
From source file SampleSortingTableModel.java
class SampleSortingTableModel extends AbstractTableModel implements TableModelListener { protected TableModel base; protected int sortColumn; protected int[] row;
From source file guiPackage.AllGuestsTableModel.java
/** * * @author Jan */ public class AllGuestsTableModel extends AbstractTableModel {
From source file GetValueAtLogic.java
class CoordinateTableModel extends AbstractTableModel { private int[] x = { 2, 3, 5, 7, 11, 13, 17, 19 }; // x is prime < 20 public int getColumnCount() { return 2; }
From source file be.ugent.maf.cellmissy.gui.view.table.model.SingleCellStatSummaryTableModel.java
/** * * @author Paola */ public class SingleCellStatSummaryTableModel extends AbstractTableModel {