Home / Development / Documentation / 2.0.44 / DecimalFormatsTableModel
TreeGraph 2
 


info.bioinfweb.treegraph.gui.dialogs.elementformats
Class DecimalFormatsTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by info.bioinfweb.treegraph.gui.dialogs.elementformats.DecimalFormatsTableModel
All Implemented Interfaces:
Serializable, TableModel

public class DecimalFormatsTableModel
extends AbstractTableModel

Table modes used with the DecimalFormatPanel.

Author:
Ben Stöver
See Also:
DecimalFormatPanel, ElementFormatsDialog, Serialized Form

Field Summary
private  Vector<String[]> entries
           
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
DecimalFormatsTableModel()
           
 
Method Summary
private  void addEntry(String description, String format)
           
private  void fillEntryList()
           
 Class<?> getColumnClass(int col)
           
 int getColumnCount()
           
 String getColumnName(int col)
           
 int getRowCount()
           
 Object getValueAt(int row, int col)
           
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, 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

entries

private Vector<String[]> entries
Constructor Detail

DecimalFormatsTableModel

public DecimalFormatsTableModel()
Method Detail

addEntry

private void addEntry(String description,
                      String format)

fillEntryList

private void fillEntryList()

getColumnClass

public Class<?> getColumnClass(int col)
Specified by:
getColumnClass in interface TableModel
Overrides:
getColumnClass in class AbstractTableModel

getColumnName

public String getColumnName(int col)
Specified by:
getColumnName in interface TableModel
Overrides:
getColumnName in class AbstractTableModel

getColumnCount

public int getColumnCount()

getRowCount

public int getRowCount()

getValueAt

public Object getValueAt(int row,
                         int col)