edu.udo.cs.yale.gui
Class EditorCellRenderer
java.lang.Object
edu.udo.cs.yale.gui.EditorCellRenderer
- All Implemented Interfaces:
- javax.swing.table.TableCellRenderer
public class EditorCellRenderer
- extends java.lang.Object
- implements javax.swing.table.TableCellRenderer
A TableCellRenderer that renders the cell by using a TableCellEditor, i.e.
the same component is shown during editing and rendering.
- Version:
- $Id: EditorCellRenderer.java,v 2.8 2006/03/21 15:35:40 ingomierswa
Exp $
- Author:
- Ingo Mierswa, Simon Fischer
Field Summary |
private javax.swing.table.TableCellEditor |
editor
|
Method Summary |
java.awt.Component |
getTableCellRendererComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
boolean hasFocus,
int row,
int column)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
editor
private javax.swing.table.TableCellEditor editor
EditorCellRenderer
public EditorCellRenderer(javax.swing.table.TableCellEditor editor)
getTableCellRendererComponent
public java.awt.Component getTableCellRendererComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
boolean hasFocus,
int row,
int column)
- Specified by:
getTableCellRendererComponent
in interface javax.swing.table.TableCellRenderer
Copyright © 2001-2006