Java javax.swing.table TableModel fields, constructors, methods, implement or subclass

Example usage for Java javax.swing.table TableModel fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.swing.table TableModel.

The text is from its open source code.

Implementation

javax.swing.table.TableModel has the following implementations.
Click this link to see all its implementation.

Constructor

Method

voidaddTableModelListener(TableModelListener l)
Adds a listener to the list that is notified each time a change to the data model occurs.
ClassgetColumnClass(int columnIndex)
Returns the most specific superclass for all the cell values in the column.
intgetColumnCount()
Returns the number of columns in the model.
StringgetColumnName(int columnIndex)
Returns the name of the column at columnIndex.
intgetRowCount()
Returns the number of rows in the model.
ObjectgetValueAt(int rowIndex, int columnIndex)
Returns the value for the cell at columnIndex and rowIndex.
voidremoveTableModelListener(TableModelListener l)
Removes a listener from the list that is notified each time a change to the data model occurs.
voidsetValueAt(Object aValue, int rowIndex, int columnIndex)
Sets the value in the cell at columnIndex and rowIndex to aValue.