|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.table.AbstractTableModel org.opensourcephysics.display2d.GridTableModel
public class GridTableModel
Field Summary |
---|
Fields inherited from class javax.swing.table.AbstractTableModel |
---|
listenerList |
Constructor Summary | |
---|---|
GridTableModel(GridData griddata,
int component)
Constructor GridTableModel |
Method Summary | |
---|---|
int |
getColumnCount()
Gets the number of columns. |
java.lang.String |
getColumnName(int c)
Gets the number of columns. |
int |
getRowCount()
Gets the number of rows. |
java.lang.Object |
getValueAt(int rowIndex,
int columnIndex)
Gets the value at the given grid location. |
Methods inherited from class javax.swing.table.AbstractTableModel |
---|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GridTableModel(GridData griddata, int component)
griddata
- component
- Method Detail |
---|
public int getColumnCount()
public java.lang.String getColumnName(int c)
getColumnName
in interface javax.swing.table.TableModel
getColumnName
in class javax.swing.table.AbstractTableModel
public int getRowCount()
public java.lang.Object getValueAt(int rowIndex, int columnIndex)
rowIndex
- intcolumnIndex
- int
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |