borland Packages Class Hierarchy dbswing Package Index
java.lang.Object +----com.sun.java.swing.AbstractListModel +----borland.dbswing.dbListModel +----borland.dbswing.dbNavComboBoxModel
Variables Constructors Properties Methods Event Listeners
Implements DataChangeListener, ListModel, Serializable, EventListener
The dbListModel component is an instantiable subclass of java.swing.AbstractListModel. The contents of this list component are provided from a data model implementation. Properties of dataSet and columnName supply the necessary information to connect this component to a JBCL DataSet-based data source.
protected String columnNameProtected variable of the String name of the Column component that supplies the content of this list component.
protected Component componentProtected variable representing this component.
protected DataSet dataSetProtected variable representing the DataSet from which the list's contents are obtained.
protected Variant valueProtected variable that stores the value selected from the list.
public dbListModel(borland.jbcl.dataset.DataSet dataSet, java.lang.String columnName, java.awt.Component component)Constructs a dbListModel with the following properties:
public int getSize()Returns the row count of the DataSet and therefore, the size of the dbListModel component. On error this method returns 0.
public void addListDataListener(com.sun.java.swing.event.ListDataListener ) public void removeListDataListener(com.sun.java.swing.event.ListDataListener )