org.eucalyptus.analysesi.gui.dictionary
Class DictionaryTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
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
Fields inherited from class javax.swing.table.AbstractTableModel |
listenerList |
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 |
DictionaryTableModel
public DictionaryTableModel(Dictionary dictionary)
- Parameters:
dictionary
-
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.