use of com.att.aro.core.packetanalysis.pojo.ProcessSelection in project VideoOptimzer by attdevsupport.
the class FilterProcessesDialog method getJApplicationsTable.
/**
* Initializes and returns the table that contains the list of applications
* found in the trace data.
*/
private JTable getJApplicationsTable() {
if (jProcessesTable == null) {
jProcessesTable = new DataTable<ProcessSelection>(jProcessesTableModel);
jProcessesTable.setAutoCreateRowSorter(true);
DataTablePopupMenu popupMenu = (DataTablePopupMenu) jProcessesTable.getPopup();
popupMenu.initialize();
}
return jProcessesTable;
}
use of com.att.aro.core.packetanalysis.pojo.ProcessSelection in project VideoOptimzer by attdevsupport.
the class FilterProcessesTableModel method setValueAt.
/**
* Sets the value of the specified data item.
*
* @param aValue
* The value to set for the data item.
*
* @param rowIndex
* The row index of the data item.
*
* @param columnIndex
* The column index of the data item.
*
* @see javax.swing.table.AbstractTableModel#setValueAt(java.lang.Object,
* int, int)
*/
@Override
public void setValueAt(Object aValue, int rowIndex, int columnIndex) {
super.setValueAt(aValue, rowIndex, columnIndex);
ProcessSelection obj = getValueAt(rowIndex);
if (columnIndex == SELECT_COL) {
if (aValue instanceof Boolean) {
obj.setSelected(((Boolean) aValue).booleanValue());
}
}
fireTableCellUpdated(rowIndex, columnIndex);
}
Aggregations