org.eucalyptus.analysesi.gui.dictionary
Class DictionaryTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by org.eucalyptus.analysesi.gui.dictionary.DictionaryTableModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel

public class DictionaryTableModel
extends javax.swing.table.AbstractTableModel

Author:
Loic Dreux
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
DictionaryTableModel(Dictionary dictionary)
           
 
Method Summary
 void addInformation(Attribute information)
           
 java.lang.Class<?> getColumnClass(int arg0)
           
 int getColumnCount()
           
 java.lang.String getColumnName(int arg0)
           
 int getRowCount()
           
 java.lang.Object getValueAt(int row, int column)
           
 void informationListChanged()
           
 boolean isCellEditable(int rowIndex, int columnIndex)
           
 void removeInformation(Attribute information)
           
 void setValueAt(java.lang.Object value, int row, int column)
           
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DictionaryTableModel

public DictionaryTableModel(Dictionary dictionary)
Parameters:
dictionary -
Method Detail

getColumnCount

public int getColumnCount()

getColumnClass

public java.lang.Class<?> getColumnClass(int arg0)
Specified by:
getColumnClass in interface javax.swing.table.TableModel
Overrides:
getColumnClass in class javax.swing.table.AbstractTableModel

getColumnName

public java.lang.String getColumnName(int arg0)
Specified by:
getColumnName in interface javax.swing.table.TableModel
Overrides:
getColumnName in class javax.swing.table.AbstractTableModel

getRowCount

public int getRowCount()

getValueAt

public java.lang.Object getValueAt(int row,
                                   int column)

setValueAt

public void setValueAt(java.lang.Object value,
                       int row,
                       int column)
Specified by:
setValueAt in interface javax.swing.table.TableModel
Overrides:
setValueAt in class javax.swing.table.AbstractTableModel

isCellEditable

public boolean isCellEditable(int rowIndex,
                              int columnIndex)
Specified by:
isCellEditable in interface javax.swing.table.TableModel
Overrides:
isCellEditable in class javax.swing.table.AbstractTableModel

addInformation

public void addInformation(Attribute information)
Parameters:
information -

removeInformation

public void removeInformation(Attribute information)
Parameters:
information -

informationListChanged

public void informationListChanged()


Copyright © 2009. All Rights Reserved.