public class EncodingConfigurationTableModel extends MoveableTableModel
TableModel
for EncodingConfiguration
.Constructor and Description |
---|
EncodingConfigurationTableModel(int type,
org.jitsi.service.neomedia.codec.EncodingConfiguration encodingConfiguration)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class<?> |
getColumnClass(int columnIndex) |
int |
getColumnCount() |
int |
getRowCount() |
java.lang.Object |
getValueAt(int rowIndex,
int columnIndex) |
boolean |
isCellEditable(int rowIndex,
int columnIndex) |
int |
move(int rowIndex,
boolean up)
Move the row.
|
void |
setValueAt(java.lang.Object value,
int rowIndex,
int columnIndex) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnName, getListeners, getTableModelListeners, removeTableModelListener
public EncodingConfigurationTableModel(int type, org.jitsi.service.neomedia.codec.EncodingConfiguration encodingConfiguration)
encodingConfiguration
- the encoding configurationtype
- media typepublic java.lang.Class<?> getColumnClass(int columnIndex)
getColumnClass
in interface javax.swing.table.TableModel
getColumnClass
in class javax.swing.table.AbstractTableModel
public int getColumnCount()
public int getRowCount()
public java.lang.Object getValueAt(int rowIndex, int columnIndex)
public boolean isCellEditable(int rowIndex, int columnIndex)
isCellEditable
in interface javax.swing.table.TableModel
isCellEditable
in class javax.swing.table.AbstractTableModel
public int move(int rowIndex, boolean up)
move
in class MoveableTableModel
rowIndex
- index of the rowup
- true to move up, false to move downpublic void setValueAt(java.lang.Object value, int rowIndex, int columnIndex)
setValueAt
in interface javax.swing.table.TableModel
setValueAt
in class javax.swing.table.AbstractTableModel
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.