borland Packages  Class Hierarchy  dbswing Package  Index 

dbNavComboBoxModel class

java.lang.Object
   +----com.sun.java.swing.AbstractListModel
           +----borland.dbswing.dbListModel
                   +----borland.dbswing.dbNavComboBoxModel

About the dbNavComboBoxModel class

Variables  Constructors  Properties  Methods  Event Listeners

Implements DataChangeListener, ComboBoxModel, ListModel, Serializable, EventListener

The dbNavComboBoxModel class extends the ComboBoxDataModel implementation of its superclass with the capability to connect to a JBCL DataSet component, and return the selected Object in the list.


dbNavComboBoxModel variables

Variables implemented in borland.dbswing.dbListModel

Variables implemented in com.sun.java.swing.AbstractListModel

dbNavComboBoxModel constructors

dbNavComboBoxModel properties

*Read-only properties **Write-only properties

Properties implemented in this class

Properties implemented in borland.dbswing.dbListModel

Properties implemented in java.lang.Object

dbNavComboBoxModel methods

Methods implemented in borland.dbswing.dbListModel

Methods implemented in com.sun.java.swing.AbstractListModel

Methods implemented in java.lang.Object

dbNavComboBoxModel event listeners


dbNavComboBoxModel constructors

dbNavComboBoxModel(borland.jbcl.dataset.DataSet, java.lang.String, java.awt.Component)

  public dbNavComboBoxModel(borland.jbcl.dataset.DataSet dataSet, java.lang.String columnName, java.awt.Component component)
Constructs a dbNavComboBoxModel object with properties as specified by its parameters.

Parameters:

dataset
Specifies the DataSet object that is the source of the data to display.
columnName
Specifies a column name in the DataSet object that fills the list.
component
The Component object.

dbNavComboBoxModel properties

selectedItem

 public Object getSelectedItem()
 public void setSelectedItem(java.lang.Object anObject)
Specifies the selected item in the dbNavComboBoxModel object.

dbNavComboBoxModel event listeners

This class is a source for the following event sets.

listData

 public void addListDataListener(com.sun.java.swing.event.ListDataListener )
 public void removeListDataListener(com.sun.java.swing.event.ListDataListener )