|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.table.AbstractTableModel
com.valhalla.pluginmanager.PluginTableModel
Represents a list of plugins in a table
Field Summary |
Fields inherited from class javax.swing.table.AbstractTableModel |
listenerList |
Constructor Summary | |
(package private) |
PluginTableModel(PluginManagerPanel panel)
Sets up the list model |
Method Summary | |
java.lang.Class |
getColumnClass(int index)
Gets the column class |
int |
getColumnCount()
|
java.lang.String |
getColumnName(int index)
Returns the column name for a specified index |
java.lang.String |
getDescription(int index)
Gets a description for a plugin |
int |
getRowCount()
|
java.lang.Object |
getValueAt(int row,
int column)
Get the Object for a specific coordinate in the table |
boolean |
isCellEditable(int row,
int column)
Finds out whether or not a cell is editable |
void |
setManageModel()
Sets up the list model as a manage panel |
void |
setPlugins(java.util.ArrayList list)
Sets the list of plugins in the Table |
void |
setTable(javax.swing.JTable table)
Sets the table value for this model |
void |
setValueAt(java.lang.Object value,
int row,
int col)
Fired when the tables data is changed |
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 |
PluginTableModel(PluginManagerPanel panel)
panel
- the PluginManagerListPanel that encloses this model's tableMethod Detail |
public void setManageModel()
public boolean isCellEditable(int row, int column)
row
- the row to checkcolumn
- the column to check
public void setValueAt(java.lang.Object value, int row, int col)
value
- the new value of the datarow
- the row of the itemcol
- the column of the itempublic java.lang.String getDescription(int index)
index
- the index of plugin to get the description of
public void setPlugins(java.util.ArrayList list)
list
- the list of pluginspublic void setTable(javax.swing.JTable table)
table
- the table that this model representspublic java.lang.String getColumnName(int index)
index
- the index you want
public java.lang.Class getColumnClass(int index)
index
- the column index to return
public int getColumnCount()
public int getRowCount()
public java.lang.Object getValueAt(int row, int column)
row
- the row of the itemcolumn
- the column of the item
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |