Package 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
- See Also:
-
Field Summary
Fields inherited from class javax.swing.table.DefaultTableModel
columnIdentifiers, dataVector
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addNewColumn
(String colName, Class<?> colClass) void
void
void
Class<?>
getColumnClass
(int column) int
Required by table model interface.List<?>
getColumnData
(String colName) getColumnName
(int column) Required by table model interface.getData()
int
Required by table model interface.Object[]
getRowData
(int row) getValueAt
(int row, int column) Required by table model interface.boolean
isCellEditable
(int row, int column) void
moveRow
(int start, int end, int to) void
removeColumn
(int col) void
removeRow
(int row) void
setColumnData
(int col, List<?> data) void
setRowValues
(int row, Object[] values) void
setValueAt
(Object value, int row, int column) Sets the ValueAt attribute of the Arguments object.Methods inherited from class javax.swing.table.DefaultTableModel
addColumn, addColumn, addColumn, addRow, convertToVector, convertToVector, getDataVector, insertRow, insertRow, 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
-
Constructor Details
-
PowerTableModel
-
PowerTableModel
public PowerTableModel()
-
-
Method Details
-
setRowValues
-
getData
-
addNewColumn
-
removeRow
public void removeRow(int row) - Overrides:
removeRow
in classDefaultTableModel
-
removeColumn
public void removeColumn(int col) -
setColumnData
-
getColumnData
-
clearData
public void clearData() -
addRow
- Overrides:
addRow
in classDefaultTableModel
-
moveRow
public void moveRow(int start, int end, int to) - Overrides:
moveRow
in classDefaultTableModel
-
addNewRow
public void addNewRow() -
getRowData
-
getRowCount
public int getRowCount()Required by table model interface.- Specified by:
getRowCount
in interfaceTableModel
- Overrides:
getRowCount
in classDefaultTableModel
- Returns:
- the RowCount value
-
getColumnCount
public int getColumnCount()Required by table model interface.- Specified by:
getColumnCount
in interfaceTableModel
- Overrides:
getColumnCount
in classDefaultTableModel
- Returns:
- the ColumnCount value
-
getColumnName
Required by table model interface.- Specified by:
getColumnName
in interfaceTableModel
- Overrides:
getColumnName
in classDefaultTableModel
- Returns:
- the ColumnName value
-
isCellEditable
public boolean isCellEditable(int row, int column) - Specified by:
isCellEditable
in interfaceTableModel
- Overrides:
isCellEditable
in classDefaultTableModel
-
getColumnClass
- Specified by:
getColumnClass
in interfaceTableModel
- Overrides:
getColumnClass
in classAbstractTableModel
-
getValueAt
Required by table model interface. return the ValueAt value- Specified by:
getValueAt
in interfaceTableModel
- Overrides:
getValueAt
in classDefaultTableModel
-
setValueAt
Sets the ValueAt attribute of the Arguments object.- Specified by:
setValueAt
in interfaceTableModel
- Overrides:
setValueAt
in classDefaultTableModel
- Parameters:
value
- the new ValueAt value
-