use of com.att.aro.ui.model.DataTablePopupMenu in project VideoOptimzer by attdevsupport.
the class BpFileMinificationTablePanel method getContentTable.
/**
* Initializes and returns the RequestResponseTable.
*/
@SuppressWarnings("unchecked")
public DataTable<MinificationEntry> getContentTable() {
if (contentTable == null) {
contentTable = new DataTable<MinificationEntry>(tableModel);
contentTable.setName(ResourceBundleHelper.getMessageString("file.minify.tableName"));
contentTable.setAutoCreateRowSorter(true);
contentTable.setGridColor(Color.LIGHT_GRAY);
contentTable.setRowHeight(ROW_HEIGHT);
contentTable.setAutoResizeMode(JTable.AUTO_RESIZE_SUBSEQUENT_COLUMNS);
DataTablePopupMenu popupMenu = (DataTablePopupMenu) contentTable.getPopup();
popupMenu.initialize();
}
return contentTable;
}
use of com.att.aro.ui.model.DataTablePopupMenu in project VideoOptimzer by attdevsupport.
the class BPVideoConcurrentSessionTablePanel method getContentTable.
@SuppressWarnings("unchecked")
public DataTable<VideoConcurrentSession> getContentTable() {
if (contentTable == null) {
contentTable = new DataTable<VideoConcurrentSession>(tableModel);
contentTable.setName(ResourceBundleHelper.getMessageString("video.concurrent.session.tableName"));
contentTable.setAutoCreateRowSorter(true);
contentTable.setGridColor(Color.LIGHT_GRAY);
contentTable.setRowHeight(ROW_HEIGHT);
contentTable.setAutoResizeMode(JTable.AUTO_RESIZE_SUBSEQUENT_COLUMNS);
DataTablePopupMenu popupMenu = (DataTablePopupMenu) contentTable.getPopup();
popupMenu.initialize();
}
return contentTable;
}
use of com.att.aro.ui.model.DataTablePopupMenu in project VideoOptimzer by attdevsupport.
the class BpConnectionsHttp3xxTablePanel method getContentTable.
/**
* Initializes and returns the RequestResponseTable.
*/
@SuppressWarnings("unchecked")
public DataTable<HttpCode3xxEntry> getContentTable() {
if (contentTable == null) {
contentTable = new DataTable<HttpCode3xxEntry>(tableModel);
contentTable.setName(ResourceBundleHelper.getMessageString("connections.301.302.response.tableName"));
contentTable.setAutoCreateRowSorter(true);
contentTable.setGridColor(Color.LIGHT_GRAY);
contentTable.setRowHeight(ROW_HEIGHT);
contentTable.setAutoResizeMode(JTable.AUTO_RESIZE_SUBSEQUENT_COLUMNS);
DataTablePopupMenu popupMenu = (DataTablePopupMenu) contentTable.getPopup();
popupMenu.initialize();
}
return contentTable;
}
use of com.att.aro.ui.model.DataTablePopupMenu in project VideoOptimzer by attdevsupport.
the class BpConnectionsUnnecessaryTablePanel method getContentTable.
/**
* Initializes and returns the RequestResponseTable.
*/
@SuppressWarnings("unchecked")
public DataTable<UnnecessaryConnectionEntry> getContentTable() {
if (contentTable == null) {
contentTable = new DataTable<UnnecessaryConnectionEntry>(tableModel);
contentTable.setName(ResourceBundleHelper.getMessageString("connections.unnecessary.tableName"));
contentTable.setAutoCreateRowSorter(true);
contentTable.setGridColor(Color.LIGHT_GRAY);
contentTable.setRowHeight(ROW_HEIGHT);
contentTable.setAutoResizeMode(JTable.AUTO_RESIZE_SUBSEQUENT_COLUMNS);
DataTablePopupMenu popupMenu = (DataTablePopupMenu) contentTable.getPopup();
popupMenu.initialize();
}
return contentTable;
}
use of com.att.aro.ui.model.DataTablePopupMenu in project VideoOptimzer by attdevsupport.
the class OverviewTabTableSplitPane method getAccessedDomainContentTable.
/**
* Initializes and returns the RequestResponseTable.
*/
public JTable getAccessedDomainContentTable() {
if (accessedDataTable == null) {
accessedDataTable = new DataTable<DomainsTCPSessions>(accessDomainModel);
accessedDataTable.setName(ResourceBundleHelper.getMessageString("overview.accessed.domains.tableName"));
DataTablePopupMenu popupMenu = (DataTablePopupMenu) accessedDataTable.getPopup();
popupMenu.initialize();
accessedDataTable.setAutoCreateRowSorter(true);
accessedDataTable.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
accessedDataTable.setGridColor(Color.LIGHT_GRAY);
TableRowSorter<TableModel> sorter = new TableRowSorter<>(accessDomainModel);
accessedDataTable.setRowSorter(sorter);
sorter.setComparator(0, Util.getDomainSorter());
accessedDataTable.getSelectionModel().addListSelectionListener(new ListSelectionListener() {
@Override
public void valueChanged(ListSelectionEvent arg0) {
DomainsTCPSessions aTCpSession = accessedDataTable.getSelectedItem();
if (null != aTCpSession) {
expandedDomainModel.setData(aTCpSession.getTcpSessions());
} else {
expandedDomainModel.removeAllRows();
}
}
});
}
return accessedDataTable;
}
Aggregations