jbcl.model Package
java.lang.Object +----com.borland.jbcl.model.MatrixDataSetManager
Constructors Properties Methods Event Listeners
Implements DataChangeListener, ExceptionHandler, MatrixModel, MatrixViewManager, WritableMatrixModel, EventListener
The MatrixDataSetManager
class is the DataSet
data-aware adapter that allows matrix model-view components to talk to com.borland.dx.dataset
components.
public MatrixDataSetManager(DataSet dataSet, Column[] columns)Constructs a
MatrixDataSetManager
object
with the DataSet
and Column
components specified in its parameters. This MatrixDataSetManager
is registered as a listener of DataChangeEvent
notifications.
public MatrixDataSetManager(DataSet dataSet, Column[] columns, Component component)Constructs a
MatrixDataSetManager
object
with the DataSet
and Column
components specified in its parameters, and associates it with the specified component
. This MatrixDataSetManager
is registered as a listener of DataChangeEvent
notifications.
public int getColumnCount()Read-only property that returns the number of
Column
components in the MatrixDataSetManager
.
public int getRowCount()Read-only property that returns the number of rows in the
MatrixDataSetManager
.
public boolean isVariableColumns()Returns false.
public boolean isVariableRows()Returns true.
public void addModelListener(MatrixModelListener listener) public void removeModelListener(MatrixModelListener listener)