1 7 8 package javax.swing.table; 9 10 import javax.swing.*; 11 import javax.swing.event.*; 12 13 32 33 public interface TableModel 34 { 35 44 public int getRowCount(); 45 46 54 public int getColumnCount(); 55 56 64 public String getColumnName(int columnIndex); 65 66 74 public Class <?> getColumnClass(int columnIndex); 75 76 87 public boolean isCellEditable(int rowIndex, int columnIndex); 88 89 97 public Object getValueAt(int rowIndex, int columnIndex); 98 99 109 public void setValueAt(Object aValue, int rowIndex, int columnIndex); 110 111 117 public void addTableModelListener(TableModelListener l); 118 119 125 public void removeTableModelListener(TableModelListener l); 126 } 127 128 | Popular Tags |