borland Packages Class Hierarchy dbswing Package Index
java.lang.Object +----com.sun.java.swing.table.AbstractTableModel +----borland.dbswing.dbTableModel
Variables Constructors Properties Methods Event Listeners
Implements DataChangeListener, TableModel, Serializable, EventListener
The dbTableModel class is an instantiable extension of the java.swing.table.AbstractTableModel class. Its dataSet property connects it to a JBuilder DataSet object from which it obtains its data.
protected Component component
protected DataSet dataSetProtected variable representing the DataSet that provides the data to this component.
protected Variant value
public dbTableModel(borland.jbcl.dataset.DataSet dataSet, java.awt.Component component)Constructs a dbTableModel object by calling the constructor of its superclass, and setting the dataSet property to the DataSet specified in its parameters.
public int getColumnCount()Read-only property that returns the number of Column components in the associated DataSet. On error, getColumnCount() returns 0.
public int getRowCount()Read-only property that returns the number of rows of data in the associated DataSet. On error, getRowCount() returns 0.
public void addTableModelListener(com.sun.java.swing.event.TableModelListener ) public void removeTableModelListener(com.sun.java.swing.event.TableModelListener )