borland Packages  Class Hierarchy  dbswing Package  Index 

JdbComboBox component

java.lang.Object
   +----java.awt.Component
           +----java.awt.Container
                   +----com.sun.java.swing.JComponent
                           +----com.sun.java.swing.JComboBox
                                   +----borland.dbswing.JdbComboBox

About the JdbComboBox component

Variables  Constructors  Properties  Methods  Event Listeners

Implements AccessListener, ColumnAware, DataSetAware, NavigationListener, Accessible, ListDataListener, ActionListener, ItemListener, ImageObserver, ItemSelectable, MenuContainer, Serializable, EventListener

The JdbComboBox component is a combination of a text field and drop-down list. This component extends java.swing.JComboBox with the ability to obtain its data from a JBuilder DataSet object or from an array of Strings.


JdbComboBox variables

Variables implemented in this class

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

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

Variables implemented in java.awt.Component

JdbComboBox constructors

JdbComboBox properties

*Read-only properties **Write-only properties

Properties implemented in this class

Properties implemented in com.sun.java.swing.JComboBox

Properties implemented in com.sun.java.swing.JComponent

Properties implemented in java.awt.Component

Properties implemented in java.awt.Container

Properties implemented in java.lang.Object

JdbComboBox methods

Methods implemented in this class

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

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

Methods implemented in java.awt.Component

Methods implemented in java.awt.Container

Methods implemented in java.lang.Object

JdbComboBox event listeners


JdbComboBox variables

columnName

  protected String columnName
Protected variable representing the String name of the Column of the DataSet from which this combobox gets the values it displays.

dataSet

  protected DataSet dataSet
Protected variable representing the DataSet from which this combobox gets the values it displays.

pickList

  protected PickListDescriptor pickList
Protected variable representing the PickListDescriptor associated with the DataSet. The PickListDescriptor defines the relationship between this component and a second "picklist" DataSet.

JdbComboBox constructors

JdbComboBox()

  public JdbComboBox()
Constructs a JdbComboBox component by calling the constructor of its superclass.

JdbComboBox(com.sun.java.swing.ComboBoxModel)

  public JdbComboBox(com.sun.java.swing.ComboBoxModel aModel)
Constructs a JdbComboBox component by calling the constructor of its superclass that takes a ComboBoxModel object as a parameter.

JdbComboBox properties

columnName

 public String getColumnName()
 public void setColumnName(java.lang.String columnName)
Specifies a String column name in the DataSet object that provides the comboBox's selection list.

dataSet

 public DataSet getDataSet()
 public void setDataSet(borland.jbcl.dataset.DataSet dataSet)
Specifies a DataSet object that provides the comboBox's selection list.

items

 public synchronized String[] getItems()
 public synchronized void setItems(java.lang.String[] items)
An array of String that fills the popup with a list of items to select from.

JdbComboBox event listeners

This component is a source for the following event sets. For information on the standard AWT event sets, see Standard Java events.

action

 public void addActionListener(java.awt.event.ActionListener )
 public void removeActionListener(java.awt.event.ActionListener )

ancestor

 public void addAncestorListener(com.sun.java.swing.event.AncestorListener )
 public void removeAncestorListener(com.sun.java.swing.event.AncestorListener )

component

 public synchronized void addComponentListener(java.awt.event.ComponentListener )
 public synchronized void removeComponentListener(java.awt.event.ComponentListener )

container

 public synchronized void addContainerListener(java.awt.event.ContainerListener )
 public void removeContainerListener(java.awt.event.ContainerListener )

focus

 public synchronized void addFocusListener(java.awt.event.FocusListener )
 public synchronized void removeFocusListener(java.awt.event.FocusListener )

item

 public void addItemListener(java.awt.event.ItemListener )
 public void removeItemListener(java.awt.event.ItemListener )

key

 public synchronized void addKeyListener(java.awt.event.KeyListener )
 public synchronized void removeKeyListener(java.awt.event.KeyListener )

mouse

 public synchronized void addMouseListener(java.awt.event.MouseListener )
 public synchronized void removeMouseListener(java.awt.event.MouseListener )

mouseMotion

 public synchronized void addMouseMotionListener(java.awt.event.MouseMotionListener )
 public synchronized void removeMouseMotionListener(java.awt.event.MouseMotionListener )

propertyChange

 public synchronized void addPropertyChangeListener(java.beans.PropertyChangeListener )
 public synchronized void removePropertyChangeListener(java.beans.PropertyChangeListener )

vetoableChange

 public synchronized void addVetoableChangeListener(java.beans.VetoableChangeListener )
 public synchronized void removeVetoableChangeListener(java.beans.VetoableChangeListener )