public abstract class PluginTableModel extends javax.swing.table.AbstractTableModel implements SortableColumnModel
Modifier and Type | Field and Description |
---|---|
protected ColumnInfo[] |
columns |
protected static java.lang.String |
NAME |
protected java.util.List<IdeaPluginDescriptor> |
view |
Modifier | Constructor and Description |
---|---|
protected |
PluginTableModel() |
Modifier and Type | Method and Description |
---|---|
int |
getColumnCount() |
ColumnInfo[] |
getColumnInfos() |
java.lang.String |
getColumnName(int column) |
javax.swing.RowSorter.SortKey |
getDefaultSortKey() |
abstract int |
getNameColumn() |
IdeaPluginDescriptor |
getObjectAt(int row) |
int |
getRowCount() |
java.lang.Object |
getRowValue(int row) |
java.lang.Object |
getValueAt(int rowIndex,
int columnIndex) |
boolean |
isCellEditable(int rowIndex,
int columnIndex) |
boolean |
isSortable() |
void |
setSortable(boolean aBoolean) |
void |
setValueAt(java.lang.Object aValue,
int rowIndex,
int columnIndex) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener
protected static final java.lang.String NAME
protected ColumnInfo[] columns
protected final java.util.List<IdeaPluginDescriptor> view
public int getColumnCount()
getColumnCount
in interface javax.swing.table.TableModel
public ColumnInfo[] getColumnInfos()
getColumnInfos
in interface SortableColumnModel
public boolean isSortable()
isSortable
in interface SortableColumnModel
public void setSortable(boolean aBoolean)
setSortable
in interface SortableColumnModel
public java.lang.String getColumnName(int column)
getColumnName
in interface javax.swing.table.TableModel
getColumnName
in class javax.swing.table.AbstractTableModel
public IdeaPluginDescriptor getObjectAt(int row)
public java.lang.Object getRowValue(int row)
getRowValue
in interface SortableColumnModel
public javax.swing.RowSorter.SortKey getDefaultSortKey()
getDefaultSortKey
in interface SortableColumnModel
public int getRowCount()
getRowCount
in interface javax.swing.table.TableModel
public java.lang.Object getValueAt(int rowIndex, int columnIndex)
getValueAt
in interface javax.swing.table.TableModel
public boolean isCellEditable(int rowIndex, int columnIndex)
isCellEditable
in interface javax.swing.table.TableModel
isCellEditable
in class javax.swing.table.AbstractTableModel
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
public abstract int getNameColumn()