public class PluginTableModel
extends javax.swing.table.AbstractTableModel
Constructor and Description |
---|
PluginTableModel()
Create an instance of PluginTableModel
|
Modifier and Type | Method and Description |
---|---|
boolean |
contains(org.osgi.framework.Bundle bundle)
Returns TRUE if the given Bundle is contained in this table,
FALSE - otherwise.
|
int |
getColumnCount()
Returns the count of table columns.
|
int |
getRowCount()
Returns the count of table rows.
|
java.lang.Object |
getValueAt(int row,
int column)
Returns the value in the cell given by row and column.
|
boolean |
isCellEditable(int row,
int column)
Returns FALSE for all cells in this table.
|
boolean |
isShowSystemBundles()
Returns TRUE if system bundles are show, FALSE - otherwise.
|
void |
setShowSystemBundles(boolean showSystemBundles)
Sets the showSystemBundles property.
|
void |
update()
Updates the table content.
|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getColumnName, getListeners, getTableModelListeners, removeTableModelListener, setValueAt
public PluginTableModel()
public int getRowCount()
public boolean contains(org.osgi.framework.Bundle bundle)
bundle
- the Bundle to search forpublic int getColumnCount()
public boolean isCellEditable(int row, int column)
isCellEditable
in interface javax.swing.table.TableModel
isCellEditable
in class javax.swing.table.AbstractTableModel
public java.lang.Object getValueAt(int row, int column)
public void update()
public boolean isShowSystemBundles()
public void setShowSystemBundles(boolean showSystemBundles)
showSystemBundles
- indicates if system bundles will be shown or not
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.