public class ExceptionsTableModel extends javax.swing.table.AbstractTableModel implements EditableModel
Constructor and Description |
---|
ExceptionsTableModel(PsiElement context) |
Modifier and Type | Method and Description |
---|---|
void |
addRow() |
boolean |
canExchangeRows(int oldIndex,
int newIndex) |
void |
exchangeRows(int index1,
int index2) |
int |
getColumnCount() |
java.lang.String |
getColumnName(int column) |
int |
getRowCount() |
ThrownExceptionInfo[] |
getThrownExceptions() |
PsiTypeCodeFragment [] |
getTypeCodeFragments() |
java.lang.Object |
getValueAt(int rowIndex,
int columnIndex) |
boolean |
isCellEditable(int rowIndex,
int columnIndex) |
void |
removeRow(int index)
Remove row with index
idx and fire DELETE event (e.g. |
void |
setTypeInfos(PsiMethod method) |
void |
setValueAt(java.lang.Object aValue,
int rowIndex,
int columnIndex) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener
public ExceptionsTableModel(PsiElement context)
public ThrownExceptionInfo[] getThrownExceptions()
public void addRow()
addRow
in interface EditableModel
public void removeRow(int index)
ItemRemovable
idx
and fire DELETE
event (e.g. by calling
AbstractTableModel.fireTableRowsDeleted(int, int)
)removeRow
in interface ItemRemovable
public void exchangeRows(int index1, int index2)
exchangeRows
in interface EditableModel
public boolean canExchangeRows(int oldIndex, int newIndex)
canExchangeRows
in interface EditableModel
public int getRowCount()
getRowCount
in interface javax.swing.table.TableModel
public int getColumnCount()
getColumnCount
in interface javax.swing.table.TableModel
public java.lang.Object getValueAt(int rowIndex, int columnIndex)
getValueAt
in interface javax.swing.table.TableModel
public java.lang.String getColumnName(int column)
getColumnName
in interface javax.swing.table.TableModel
getColumnName
in class javax.swing.table.AbstractTableModel
public boolean isCellEditable(int rowIndex, int columnIndex)
isCellEditable
in interface javax.swing.table.TableModel
isCellEditable
in class javax.swing.table.AbstractTableModel
public void setTypeInfos(PsiMethod method)
public PsiTypeCodeFragment [] getTypeCodeFragments()
public void setValueAt(java.lang.Object aValue, int rowIndex, int columnIndex)
setValueAt
in interface javax.swing.table.TableModel
setValueAt
in class javax.swing.table.AbstractTableModel