borland Packages  Class Hierarchy  dbswing Package 

TableImageReadOnlyEditor component

java.lang.Object
   +----java.awt.Component
           +----java.awt.Container
                   +----javax.swing.JComponent
                           +----javax.swing.JLabel
                                   +----com.borland.dbswing.TableImageReadOnlyEditor

About the TableImageReadOnlyEditor component

Variables  Constructors  Properties  Methods  Event Listeners

Implements ImageObserver, MenuContainer, Serializable, Runnable, Accessible, CellEditor, SwingConstants, TableCellEditor

Note: This is a feature of JBuilder Professional and Enterprise.

TableImageReadOnlyEditor is a TableCellEditor for icons in a JTable or JdbTable.

Although it is a TableCellEditor, it does not allow an icon to be edited. Instead, it displays an icon in its own window, sized to display the natural size of the image, or as a maximized window with scrollbars, if necessary. To edit an icon, use TableImageEditor instead.

To close the icon window, click the window's close button, or press the [Esc], [Enter], or [Space] key.

To use TableImageReadOnlyEditor as the editor for a column in a JdbTable, set it as the itemEditor property of the corresponding Column:

imageColumn.setItemEditor(new TableImageReadOnlyEditor());

TableImageReadOnlyEditor variables

Variables implemented in java.awt.Component

Variables implemented in javax.swing.JComponent

Variables implemented in javax.swing.JLabel

TableImageReadOnlyEditor constructors

TableImageReadOnlyEditor properties

*Read-only properties **Write-only properties

Properties implemented in this class

Properties implemented in java.awt.Component

Properties implemented in java.awt.Container

Properties implemented in java.lang.Object

Properties implemented in javax.swing.JComponent

Properties implemented in javax.swing.JLabel

TableImageReadOnlyEditor methods

Methods implemented in this class

Methods implemented in java.awt.Component

Methods implemented in java.awt.Container

Methods implemented in java.lang.Object

Methods implemented in javax.swing.JComponent

Methods implemented in javax.swing.JLabel

TableImageReadOnlyEditor event listeners


TableImageReadOnlyEditor constructors

TableImageReadOnlyEditor()

  public TableImageReadOnlyEditor()
Constructs a TableImageReadOnlyEditor object with no parameters.

TableImageReadOnlyEditor properties

cellEditorValue

 public Object getCellEditorValue()
Returns the value for the editor. The value is required for implementation of the TableCellEditor interface.

TableImageReadOnlyEditor event listeners

This component is a source for the following event sets.

ancestor

 public void addAncestorListener(javax.swing.event.AncestorListener )
 public void removeAncestorListener(javax.swing.event.AncestorListener )

cellEditor

 public void addCellEditorListener(CellEditorListener l)
 public void removeCellEditorListener(CellEditorListener l)

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 synchronized void removeContainerListener(java.awt.event.ContainerListener )

focus

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

inputMethod

 public synchronized void addInputMethodListener(java.awt.event.InputMethodListener )
 public synchronized void removeInputMethodListener(java.awt.event.InputMethodListener )

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 )