use of com.att.aro.ui.model.DataTablePopupMenu in project VideoOptimzer by attdevsupport.
the class BpFileSpriteImagesTablePanel method getContentTable.
/**
* Initializes and returns the RequestResponseTable.
*/
@SuppressWarnings("unchecked")
public DataTable<SpriteImageEntry> getContentTable() {
if (contentTable == null) {
contentTable = new DataTable<SpriteImageEntry>(tableModel);
contentTable.setName(ResourceBundleHelper.getMessageString("file.css.sprite.images.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 BPConnectionsSimultnsTablePanel method getContentTable.
/**
* Initializes and returns the RequestResponseTable.
*/
@Override
@SuppressWarnings("unchecked")
public DataTable<MultipleConnectionsEntry> getContentTable() {
if (contentTable == null) {
contentTable = new DataTable<MinificationEntry>(tableModel);
contentTable.setName(ResourceBundleHelper.getMessageString("connections.multiple.simultaneous.tableName"));
contentTable.setAutoCreateRowSorter(true);
contentTable.setGridColor(Color.LIGHT_GRAY);
contentTable.setRowHeight(ROW_HEIGHT);
contentTable.setAutoResizeMode(JTable.AUTO_RESIZE_SUBSEQUENT_COLUMNS);
TableRowSorter<TableModel> sorter = new TableRowSorter<>(tableModel);
contentTable.setRowSorter(sorter);
sorter.setComparator(SimultnsConnTableModel.COL_2, Util.getDomainSorter());
sorter.setComparator(SimultnsConnTableModel.COL_3, Util.getDomainSorter());
sorter.setComparator(SimultnsConnTableModel.COL_4, Util.getIntSorter());
sorter.toggleSortOrder(SimultnsConnTableModel.COL_1);
DataTablePopupMenu popupMenu = (DataTablePopupMenu) contentTable.getPopup();
popupMenu.initialize();
}
return contentTable;
}
use of com.att.aro.ui.model.DataTablePopupMenu in project VideoOptimzer by attdevsupport.
the class BpSecurityHttpsUsageTablePanel method getContentTable.
@SuppressWarnings("unchecked")
@Override
public DataTable<HttpsUsageEntry> getContentTable() {
if (contentTable == null) {
contentTable = new DataTable<HttpsUsageEntry>(tableModel);
contentTable.setName(ResourceBundleHelper.getMessageString("security.https.usage.tableName"));
contentTable.setAutoCreateRowSorter(true);
contentTable.setGridColor(Color.LIGHT_GRAY);
contentTable.setRowHeight(ROW_HEIGHT);
contentTable.setAutoResizeMode(JTable.AUTO_RESIZE_SUBSEQUENT_COLUMNS);
TableRowSorter<TableModel> sorter = new TableRowSorter<>(tableModel);
contentTable.setRowSorter(sorter);
sorter.setComparator(0, Util.getDomainSorter());
sorter.setComparator(7, Util.getIntSorter());
sorter.setComparator(4, Util.getIntSorter());
sorter.setComparator(5, Util.getFloatSorter());
sorter.setComparator(6, Util.getFloatSorter());
sorter.setComparator(1, Util.getDomainSorter());
DataTablePopupMenu popupMenu = (DataTablePopupMenu) contentTable.getPopup();
popupMenu.initialize();
}
return contentTable;
}
use of com.att.aro.ui.model.DataTablePopupMenu in project VideoOptimzer by attdevsupport.
the class BpSecurityTransmissionPrivateDataTablePanel method getContentTable.
@SuppressWarnings("unchecked")
@Override
public DataTable<TransmissionPrivateDataEntry> getContentTable() {
if (contentTable == null) {
contentTable = new DataTable<TransmissionPrivateDataEntry>(tableModel);
contentTable.setName(ResourceBundleHelper.getMessageString("security.private.data.transmission.tableName"));
contentTable.setAutoCreateRowSorter(true);
contentTable.setGridColor(Color.LIGHT_GRAY);
contentTable.setRowHeight(ROW_HEIGHT);
contentTable.setAutoResizeMode(JTable.AUTO_RESIZE_SUBSEQUENT_COLUMNS);
TableRowSorter<TableModel> sorter = new TableRowSorter<>(tableModel);
contentTable.setRowSorter(sorter);
sorter.setComparator(0, Util.getDomainSorter());
DataTablePopupMenu popupMenu = (DataTablePopupMenu) contentTable.getPopup();
popupMenu.initialize();
}
return contentTable;
}
use of com.att.aro.ui.model.DataTablePopupMenu in project VideoOptimzer by attdevsupport.
the class BpFileDuplicateContentTablePanel method getContentTable.
/**
* Initializes and returns the RequestResponseTable.
*/
@Override
@SuppressWarnings("unchecked")
public DataTable<CacheEntry> getContentTable() {
if (contentTable == null) {
contentTable = new DataTable<CacheEntry>(tableModel);
contentTable.setName(ResourceBundleHelper.getMessageString("file.duplicate.content.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;
}
Aggregations