de.glossmaker.gui.gloss.importGloss
Class ImportGlossTableModel

Package class diagram package ImportGlossTableModel
java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by de.glossmaker.gui.gloss.importGloss.ImportGlossTableModel
All Implemented Interfaces:
Serializable, TableModel

public class ImportGlossTableModel
extends AbstractTableModel

Author:
Markus Flingelli
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
ImportGlossTableModel(GlossItems items, GlossItems importItems)
           
 
Method Summary
 boolean existsItem(int row)
           
 int getColumnCount()
           
 String getColumnName(int col)
           
 EOperation getOperation(int row)
           
 int getRowCount()
           
 Object getValueAt(int row, int col)
           
 boolean isCellEditable(int row, int col)
           
 void setValueAt(Object obj, int row, int col)
           
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImportGlossTableModel

public ImportGlossTableModel(GlossItems items,
                             GlossItems importItems)
Method Detail

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)

setValueAt

public void setValueAt(Object obj,
                       int row,
                       int col)
Specified by:
setValueAt in interface TableModel
Overrides:
setValueAt in class AbstractTableModel

isCellEditable

public boolean isCellEditable(int row,
                              int col)
Specified by:
isCellEditable in interface TableModel
Overrides:
isCellEditable in class AbstractTableModel

existsItem

public boolean existsItem(int row)

getOperation

public EOperation getOperation(int row)


Copyright © 2010 - 2011 Markus Flingelli. All Rights Reserved.