borland Packages  Class Hierarchy  dbswing Package  Index 

dbListCellRenderer component

java.lang.Object
   +----java.awt.Component
           +----java.awt.Container
                   +----com.sun.java.swing.JComponent
                           +----com.sun.java.swing.JLabel
                                   +----borland.dbswing.dbListCellRenderer

About the dbListCellRenderer component

Variables  Constructors  Properties  Methods  Event Listeners

Implements Accessible, ListCellRenderer, SwingConstants, ImageObserver, MenuContainer, Serializable

The dbCellRenderer component extends java.swing.JLabel with rendering according to user-specified patterns and locales. This is effected through the formatter property, which specifies this component's ItemFormatter. The ItemFormatter, in turn, defines format patterns and locale-specific information.

See also:
String-based patterns (masks), ItemFormatter


dbListCellRenderer variables

Variables implemented in this class

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

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

Variables implemented in java.awt.Component

dbListCellRenderer constructors

dbListCellRenderer properties

*Read-only properties **Write-only properties

Properties implemented in this class

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

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

Properties implemented in java.awt.Component

Properties implemented in java.awt.Container

Properties implemented in java.lang.Object

dbListCellRenderer methods

Methods implemented in this class

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

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

Methods implemented in java.awt.Component

Methods implemented in java.awt.Container

Methods implemented in java.lang.Object

dbListCellRenderer event listeners


dbListCellRenderer variables

formatter

  protected ItemFormatter formatter
Protected variable of the ItemFormatter of this component.

dbListCellRenderer constructors

dbListCellRenderer()

  public dbListCellRenderer()
Creates a dbListCellRenderer by calling the constructor of its superclass.

dbListCellRenderer(borland.jbcl.model.ItemFormatter)

  public dbListCellRenderer(borland.jbcl.model.ItemFormatter formatter)
Creates a dbListCellRenderer by calling the constructor of its superclass, then sets the formatter property to the ItemFormatter specified in its parameter.

dbListCellRenderer properties

formatter

 public ItemFormatter getFormatter()
 public void setFormatter(borland.jbcl.model.ItemFormatter formatter)
Specifies the ItemFormatter to use for formatting the text passed in to the getPreferredSize and paint methods.

dbListCellRenderer methods

getText(java.lang.Object)

  protected String getText(java.lang.Object data)
Protected method that returns a String version of the text of this component. If an ItemFormatter has been set using the formatter property, the text is formatted according to its specifications.

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

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 )