toxtree.ui.molecule
Class AtomContainerPropertyTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by toxtree.ui.molecule.AtomContainerPropertyTableModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel

public class AtomContainerPropertyTableModel
extends javax.swing.table.AbstractTableModel

Used to display properties of a org.openscience.cdk.interfaces.Molecule obtained by getProperties()

Author:
Nina Jeliazkova Modified 2005-9-3
See Also:
Serialized Form

Field Summary
protected  org.openscience.cdk.interfaces.IAtomContainer ac
           
protected  java.util.ArrayList names
           
protected static java.text.NumberFormat nf
           
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
AtomContainerPropertyTableModel()
           
 
Method Summary
 boolean accepts(java.lang.Object key, java.lang.Object value)
           
 int getColumnCount()
           
 int getRowCount()
           
 java.lang.Object getValueAt(int rowIndex, int columnIndex)
           
 void setAtomContainer(org.openscience.cdk.interfaces.IAtomContainer object)
           
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getColumnName, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ac

protected org.openscience.cdk.interfaces.IAtomContainer ac

names

protected java.util.ArrayList names

nf

protected static java.text.NumberFormat nf
Constructor Detail

AtomContainerPropertyTableModel

public AtomContainerPropertyTableModel()
Method Detail

getColumnCount

public int getColumnCount()

getRowCount

public int getRowCount()

getValueAt

public java.lang.Object getValueAt(int rowIndex,
                                   int columnIndex)

setAtomContainer

public void setAtomContainer(org.openscience.cdk.interfaces.IAtomContainer object)

accepts

public boolean accepts(java.lang.Object key,
                       java.lang.Object value)


Copyright © 2004-2012 Ideaconsult Ltd.. All Rights Reserved.