org.apache.jmeter.gui.util
Class PowerTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
javax.swing.table.DefaultTableModel
org.apache.jmeter.gui.util.PowerTableModel
- All Implemented Interfaces:
- Serializable, TableModel
public class PowerTableModel
- extends DefaultTableModel
- See Also:
- Serialized Form
Methods inherited from class javax.swing.table.DefaultTableModel |
addColumn, addColumn, addColumn, addRow, convertToVector, convertToVector, getDataVector, insertRow, insertRow, moveRow, newDataAvailable, newRowsAdded, rowsRemoved, setColumnCount, setColumnIdentifiers, setColumnIdentifiers, setDataVector, setDataVector, setNumRows, setRowCount |
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 |
PowerTableModel
public PowerTableModel(String[] headers,
Class<?>[] classes)
PowerTableModel
public PowerTableModel()
setRowValues
public void setRowValues(int row,
Object[] values)
getData
public Data getData()
addNewColumn
public void addNewColumn(String colName,
Class<?> colClass)
removeRow
public void removeRow(int row)
- Overrides:
removeRow
in class DefaultTableModel
removeColumn
public void removeColumn(int col)
setColumnData
public void setColumnData(int col,
List<?> data)
getColumnData
public List<?> getColumnData(String colName)
clearData
public void clearData()
addRow
public void addRow(Object[] data)
- Overrides:
addRow
in class DefaultTableModel
addNewRow
public void addNewRow()
getRowData
public Object[] getRowData(int row)
getRowCount
public int getRowCount()
- Required by table model interface.
- Specified by:
getRowCount
in interface TableModel
- Overrides:
getRowCount
in class DefaultTableModel
- Returns:
- the RowCount value
getColumnCount
public int getColumnCount()
- Required by table model interface.
- Specified by:
getColumnCount
in interface TableModel
- Overrides:
getColumnCount
in class DefaultTableModel
- Returns:
- the ColumnCount value
getColumnName
public String getColumnName(int column)
- Required by table model interface.
- Specified by:
getColumnName
in interface TableModel
- Overrides:
getColumnName
in class DefaultTableModel
- Returns:
- the ColumnName value
isCellEditable
public boolean isCellEditable(int row,
int column)
- Specified by:
isCellEditable
in interface TableModel
- Overrides:
isCellEditable
in class DefaultTableModel
getColumnClass
public Class<?> getColumnClass(int column)
- Specified by:
getColumnClass
in interface TableModel
- Overrides:
getColumnClass
in class AbstractTableModel
getValueAt
public Object getValueAt(int row,
int column)
- Required by table model interface. return the ValueAt value
- Specified by:
getValueAt
in interface TableModel
- Overrides:
getValueAt
in class DefaultTableModel
setValueAt
public void setValueAt(Object value,
int row,
int column)
- Sets the ValueAt attribute of the Arguments object.
- Specified by:
setValueAt
in interface TableModel
- Overrides:
setValueAt
in class DefaultTableModel
- Parameters:
value
- the new ValueAt value
Copyright © 1998-2012 Apache Software Foundation. All Rights Reserved.