/rcdkjar/src/org/guha/rcdk/view/table/StructureTableCellEditor2D.java
http://github.com/rajarshi/cdkr · Java · 18 lines · 12 code · 3 blank · 3 comment · 2 complexity · f50e9e38119dca1b6c6fa9be1299c88f MD5 · raw file
- package org.guha.rcdk.view.table;
- import org.guha.rcdk.view.panels.MoleculeCell;
- import javax.swing.*;
- import java.awt.*;
- /**
- * @author Rajarshi Guha
- */
- public class StructureTableCellEditor2D extends StructureTableCellEditor {
- public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column) {
- if (column != 0) {
- return (MoleculeCell) value;
- }
- return (MoleculeCell) value;
- }
- }