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
JdbCheckBox constructors
JdbCheckBox properties
*Read-only properties **Write-only properties
Properties implemented in this class
JdbCheckBox methods
Methods implemented in this class
- computeVisibleRect(java.awt.Rectangle)
- contains(int, int)
- createToolTip()
- firePropertyChange(java.lang.String, boolean, boolean)
- firePropertyChange(java.lang.String, byte, byte)
- firePropertyChange(java.lang.String, char, char)
- firePropertyChange(java.lang.String, double, double)
- firePropertyChange(java.lang.String, float, float)
- firePropertyChange(java.lang.String, int, int)
- firePropertyChange(java.lang.String, java.lang.Object, java.lang.Object)
- firePropertyChange(java.lang.String, long, long)
- firePropertyChange(java.lang.String, short, short)
- fireVetoableChange(java.lang.String, java.lang.Object, java.lang.Object)
- getActionForKeyStroke(com.sun.java.swing.KeyStroke)
- getBounds(java.awt.Rectangle)
- getClientProperty(java.lang.Object)
- getComponentGraphics(java.awt.Graphics)
- getConditionForKeyStroke(com.sun.java.swing.KeyStroke)
- getLocation(java.awt.Point)
- getSize(java.awt.Dimension)
- getToolTipLocation(java.awt.event.MouseEvent)
- getToolTipText(java.awt.event.MouseEvent)
- grabFocus()
- hasFocus()
- isLightweightComponent(java.awt.Component)
- paint(java.awt.Graphics)
- paintChildren(java.awt.Graphics)
- paintComponent(java.awt.Graphics)
- paintImmediately(int, int, int, int)
- paintImmediately(java.awt.Rectangle)
- processComponentKeyEvent(java.awt.event.KeyEvent)
- processFocusEvent(java.awt.event.FocusEvent)
- processKeyEvent(java.awt.event.KeyEvent)
- processMouseMotionEvent(java.awt.event.MouseEvent)
- putClientProperty(java.lang.Object, java.lang.Object)
- registerKeyboardAction(java.awt.event.ActionListener, com.sun.java.swing.KeyStroke, int)
- registerKeyboardAction(java.awt.event.ActionListener, java.lang.String, com.sun.java.swing.KeyStroke, int)
- removeNotify()
- repaint(java.awt.Rectangle)
- repaint(long, int, int, int, int)
- requestDefaultFocus()
- requestFocus()
- resetKeyboardActions()
- reshape(int, int, int, int)
- revalidate()
- scrollRectToVisible(java.awt.Rectangle)
- setUI(com.sun.java.swing.plaf.ComponentUI)
- unregisterKeyboardAction(com.sun.java.swing.KeyStroke)
- update(java.awt.Graphics)
- action(java.awt.Event, java.lang.Object)
- add(java.awt.PopupMenu)
- bounds()
- checkImage(java.awt.Image, int, int, java.awt.image.ImageObserver)
- checkImage(java.awt.Image, java.awt.image.ImageObserver)
- contains(java.awt.Point)
- createImage(int, int)
- createImage(java.awt.image.ImageProducer)
- disable()
- disableEvents(long)
- dispatchEvent(java.awt.AWTEvent)
- enable()
- enable(boolean)
- enableEvents(long)
- getFontMetrics(java.awt.Font)
- gotFocus(java.awt.Event, java.lang.Object)
- handleEvent(java.awt.Event)
- hide()
- imageUpdate(java.awt.Image, int, int, int, int, int)
- inside(int, int)
- keyDown(java.awt.Event, int)
- keyUp(java.awt.Event, int)
- list()
- list(java.io.PrintStream)
- list(java.io.PrintWriter)
- location()
- lostFocus(java.awt.Event, java.lang.Object)
- mouseDown(java.awt.Event, int, int)
- mouseDrag(java.awt.Event, int, int)
- mouseEnter(java.awt.Event, int, int)
- mouseExit(java.awt.Event, int, int)
- mouseMove(java.awt.Event, int, int)
- mouseUp(java.awt.Event, int, int)
- move(int, int)
- nextFocus()
- paintAll(java.awt.Graphics)
- postEvent(java.awt.Event)
- prepareImage(java.awt.Image, int, int, java.awt.image.ImageObserver)
- prepareImage(java.awt.Image, java.awt.image.ImageObserver)
- printAll(java.awt.Graphics)
- processComponentEvent(java.awt.event.ComponentEvent)
- processMouseEvent(java.awt.event.MouseEvent)
- remove(java.awt.MenuComponent)
- repaint()
- repaint(int, int, int, int)
- repaint(long)
- resize(int, int)
- resize(java.awt.Dimension)
- setBounds(int, int, int, int)
- setLocation(int, int)
- setSize(int, int)
- show()
- show(boolean)
- size()
- toString()
- transferFocus()
- add(java.awt.Component)
- add(java.awt.Component, int)
- add(java.awt.Component, java.lang.Object)
- add(java.awt.Component, java.lang.Object, int)
- add(java.lang.String, java.awt.Component)
- addImpl(java.awt.Component, java.lang.Object, int)
- countComponents()
- deliverEvent(java.awt.Event)
- doLayout()
- getComponent(int)
- getComponentAt(int, int)
- getComponentAt(java.awt.Point)
- insets()
- invalidate()
- isAncestorOf(java.awt.Component)
- layout()
- list(java.io.PrintStream, int)
- list(java.io.PrintWriter, int)
- locate(int, int)
- minimumSize()
- paintComponents(java.awt.Graphics)
- paramString()
- preferredSize()
- print(java.awt.Graphics)
- printComponents(java.awt.Graphics)
- processContainerEvent(java.awt.event.ContainerEvent)
- processEvent(java.awt.AWTEvent)
- remove(int)
- remove(java.awt.Component)
- removeAll()
- validate()
- validateTree()
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 )