use of com.att.aro.ui.model.diagnostic.HttpDelayTableModel in project VideoOptimzer by attdevsupport.
the class HttpDelayPanel method getHttpDelayTable.
/**
* Initializes and returns the the DataTable that contains HTTP delay informations.
*/
public DataTable<HttpRequestResponseInfo> getHttpDelayTable() {
if (httpDelayTable == null) {
httpDelayTable = new DataTable<HttpRequestResponseInfo>(httpDelayTableModel);
httpDelayTable.setName(ResourceBundleHelper.getMessageString("diagnostics.delay.view.tableName"));
DataTablePopupMenu popupMenu = (DataTablePopupMenu) httpDelayTable.getPopup();
popupMenu.initialize();
httpDelayTable.setAutoCreateRowSorter(true);
httpDelayTable.setGridColor(Color.LIGHT_GRAY);
TableRowSorter<TableModel> sorter = new TableRowSorter<>(httpDelayTable.getModel());
httpDelayTable.setRowSorter(sorter);
}
return httpDelayTable;
}
Aggregations