Package repast.simphony.ui.table
Class ComponentTableCellEditorRenderer
java.lang.Object
javax.swing.AbstractCellEditor
repast.simphony.ui.table.ComponentTableCellEditorRenderer
- All Implemented Interfaces:
Serializable
,CellEditor
,TableCellEditor
,TableCellRenderer
public class ComponentTableCellEditorRenderer
extends AbstractCellEditor
implements TableCellEditor, TableCellRenderer
TableCell editor and renderer for JComponents
- Author:
- Eric Tatara
- See Also:
-
Field Summary
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetTableCellEditorComponent
(JTable table, Object value, boolean isSelected, int row, int column) getTableCellRendererComponent
(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) Methods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.swing.CellEditor
addCellEditorListener, cancelCellEditing, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing
-
Constructor Details
-
ComponentTableCellEditorRenderer
public ComponentTableCellEditorRenderer()
-
-
Method Details
-
getTableCellRendererComponent
public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) - Specified by:
getTableCellRendererComponent
in interfaceTableCellRenderer
-
getCellEditorValue
- Specified by:
getCellEditorValue
in interfaceCellEditor
-
getTableCellEditorComponent
public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column) - Specified by:
getTableCellEditorComponent
in interfaceTableCellEditor
-