rcdkjar/src/org/guha/rcdk/view/table/StructureTableCellEditor2D.java
raw| 1 | package org.guha.rcdk.view.table; |
| 2 | |
| 3 | import org.guha.rcdk.view.panels.MoleculeCell; |
| 4 | |
| 5 | import javax.swing.*; |
| 6 | import java.awt.*; |
| 7 | |
| 8 | /** |
| 9 | * @author Rajarshi Guha |
| 10 | */ |
| 11 | public class StructureTableCellEditor2D extends StructureTableCellEditor { |
| 12 | public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column) { |
| 13 | if (column != 0) { |
| 14 | return (MoleculeCell) value; |
| 15 | } |
| 16 | return (MoleculeCell) value; |
| 17 | } |
| 18 | } |