borland Packages  Class Hierarchy  dbswing Package  Index 

JdbCheckBox component

java.lang.Object
   +----java.awt.Component
           +----java.awt.Container
                   +----com.sun.java.swing.JComponent
                           +----com.sun.java.swing.AbstractButton
                                   +----com.sun.java.swing.JToggleButton
                                           +----com.sun.java.swing.JCheckBox
                                                   +----borland.dbswing.JdbCheckBox

About the JdbCheckBox component

Variables  Constructors  Properties  Methods  Event Listeners

Implements AccessListener, ColumnAware, DataSetAware, Accessible, SwingConstants, ImageObserver, ItemSelectable, MenuContainer, Serializable, EventListener

The JdbCheckBox component extends the java.swing.JCheckBox class, allowing it to be connected to a JBuilder DataSet through dataSet and columnName properties.


JdbCheckBox variables

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

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

Variables implemented in java.awt.Component

JdbCheckBox constructors

JdbCheckBox properties

*Read-only properties **Write-only properties

Properties implemented in this class

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

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

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

JdbCheckBox methods

Methods implemented in this class

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

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

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

JdbCheckBox event listeners


JdbCheckBox constructors

JdbCheckBox()

  public JdbCheckBox()
Contructs a JdbCheckBox component by calling the constructor of its superclass. The checkbox button has no text or icon and is initially unselected.

JdbCheckBox(com.sun.java.swing.Icon)

  public JdbCheckBox(com.sun.java.swing.Icon icon)
Contructs a JdbCheckBox component by calling the constructor of its superclass that takes an icon as parameter. This icon displays beside the checkbox. The checkbox is initially unselected.

JdbCheckBox(com.sun.java.swing.Icon, boolean)

  public JdbCheckBox(com.sun.java.swing.Icon icon, boolean selected)
Contructs a JdbCheckBox component by calling the constructor of its superclass that takes both an icon and selection default as parameter. This icon displays beside the checkbox. The checkbox is initially selected if the selected parameter is true and is not initially selected if false.

JdbCheckBox(java.lang.String)

  public JdbCheckBox(java.lang.String text)
Contructs a JdbCheckBox component by calling the constructor of its superclass that takes a String as parameter. This String displays beside the checkbox. The checkbox is initially unselected.

JdbCheckBox(java.lang.String, boolean)

  public JdbCheckBox(java.lang.String text, boolean selected)
Contructs a JdbCheckBox component by calling the constructor of its superclass that takes a String as parameter. This String displays beside the checkbox. The checkbox is initially selected if the selected parameter is true and is not initially selected if false.

JdbCheckBox(java.lang.String, com.sun.java.swing.Icon)

  public JdbCheckBox(java.lang.String text, com.sun.java.swing.Icon icon)
Contructs a JdbCheckBox component by calling the constructor of its superclass that takes both a String and icon as parameters. The checkbox is created with both elements. It is initially unselected.

JdbCheckBox(java.lang.String, com.sun.java.swing.Icon, boolean)

  public JdbCheckBox(java.lang.String text, com.sun.java.swing.Icon icon, boolean selected)
Contructs a JdbCheckBox component by calling the constructor of its superclass that takes the same three parameters. The checkbox is created with both the text and icon and is initially selected if the selected parameter is true; not initially selected if false.

JdbCheckBox properties

columnName

 public String getColumnName()
 public void setColumnName(java.lang.String newColumnName)
Specifies the name of the Column component this checkbox displays data from.

dataSet

 public DataSet getDataSet()
 public void setDataSet(borland.jbcl.dataset.DataSet newDataSet)
Specifies the name of the DataSet this checkbox displays data from.

JdbCheckBox methods

addNotify()

  public void addNotify()

Overrides: com.sun.java.swing.JComponent.addNotify()


JdbCheckBox 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 )

change

 public void addChangeListener(com.sun.java.swing.event.ChangeListener )
 public void removeChangeListener(com.sun.java.swing.event.ChangeListener )

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 )