borland Packages Class Hierarchy dbswing Package Index
JdbList component
java.lang.Object
+----java.awt.Component
+----java.awt.Container
+----com.sun.java.swing.JComponent
+----com.sun.java.swing.JList
+----borland.dbswing.JdbList
About the JdbList component
Variables Constructors Properties Methods Event Listeners
Implements AccessListener, ColumnAware, DataChangeListener, DataSetAware, NavigationListener, Accessible, ListSelectionListener, Scrollable, ImageObserver, MenuContainer, Serializable,
EventListener
The JdbList is a data-aware extension to the JList component.
JdbList displays a list of pick-values for a single field in a DataSet.
JdbList variables
Variables implemented in this class
JdbList constructors
JdbList properties
*Read-only properties **Write-only properties
Properties implemented in this class
JdbList 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)
- paintBorder(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)
- addSelectionInterval(int, int)
- clearSelection()
- createSelectionModel()
- ensureIndexIsVisible(int)
- fireSelectionValueChanged(int, int, boolean)
- getCellBounds(int, int)
- getScrollableBlockIncrement(java.awt.Rectangle, int, int)
- getScrollableUnitIncrement(java.awt.Rectangle, int, int)
- indexToLocation(int)
- isSelectedIndex(int)
- locationToIndex(java.awt.Point)
- removeSelectionInterval(int, int)
- setSelectedValue(java.lang.Object, boolean)
- setSelectionInterval(int, int)
- updateUI()
- 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()
JdbList event listeners
JdbList variables
columnName
protected String columnName
Stores the name of the Column component that this component displays data from.
dataSet
protected DataSet dataSet
Specifies the DataSet object that is the source of the data to display.
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.
JdbList constructors
JdbList()
public JdbList()
Constructs a JdbList component by calling the constructor of its superclass.
JdbList(com.sun.java.swing.ListModel)
public JdbList(com.sun.java.swing.ListModel dataModel)
Constructs a JdbList component by calling the constructor of its superclass that takes a ListModel parameter.
JdbList(java.lang.Object[])
public JdbList(java.lang.Object[] listData)
Constructs a JdbList component by calling the constructor of its superclass that takes an array of Objects as a parameter.
JdbList(java.util.Vector)
public JdbList(java.util.Vector listData)
Constructs a JdbList component by calling the constructor of its superclass that takes a Vector object as a parameter.
JdbList properties
columnName
public String getColumnName()
public void setColumnName(java.lang.String columnName)
Specifies a Column name in the
DataSet object that drives the list's selection.
dataSet
public DataSet getDataSet()
public void setDataSet(borland.jbcl.dataset.DataSet dataSet)
Specifies a DataSet object that drives the list's selection.
items
public synchronized String[] getItems()
public synchronized void setItems(java.lang.String[] items)
Specifies the list of items to pick from.
preferredSize
public Dimension getPreferredSize()
JdbList methods
addNotify()
public void addNotify()
Calls the addNotify() method of its superclass, calculates the size of the list, then opens the associated DataSet (if specified).
Overrides:
com.sun.java.swing.JComponent.addNotify()
updateValue()
public void updateValue()
Populates the list by accessing the pickList property of the associated DataSet.
JdbList event listeners
This component is a source for the following event sets.
For information on the standard AWT event sets, see Standard Java events.
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 )
key
public synchronized void addKeyListener(java.awt.event.KeyListener )
public synchronized void removeKeyListener(java.awt.event.KeyListener )
listSelection
public void addListSelectionListener(com.sun.java.swing.event.ListSelectionListener )
public void removeListSelectionListener(com.sun.java.swing.event.ListSelectionListener )
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 )