*
* @return The {@link IStyle} that should be used to render the selected
* GroupBy summary row cells in a NatTable.
*/
protected IStyle getGroupBySummarySelectionStyle() {
IStyle cellStyle = new Style();
cellStyle.setAttributeValue(CellStyleAttributes.BACKGROUND_COLOR,
groupBySummarySelectionBgColor);
cellStyle.setAttributeValue(CellStyleAttributes.FOREGROUND_COLOR,
groupBySummarySelectionFgColor);
cellStyle.setAttributeValue(
CellStyleAttributes.GRADIENT_BACKGROUND_COLOR,
groupBySummarySelectionGradientBgColor);
cellStyle.setAttributeValue(
CellStyleAttributes.GRADIENT_FOREGROUND_COLOR,
groupBySummarySelectionGradientFgColor);
cellStyle.setAttributeValue(CellStyleAttributes.HORIZONTAL_ALIGNMENT,
groupBySummarySelectionHAlign);
cellStyle.setAttributeValue(CellStyleAttributes.VERTICAL_ALIGNMENT,
groupBySummarySelectionVAlign);
cellStyle.setAttributeValue(CellStyleAttributes.FONT,
groupBySummarySelectionFont);
cellStyle.setAttributeValue(CellStyleAttributes.IMAGE,
groupBySummarySelectionImage);
cellStyle.setAttributeValue(CellStyleAttributes.BORDER_STYLE,
groupBySummarySelectionBorderStyle);
cellStyle.setAttributeValue(CellStyleAttributes.PASSWORD_ECHO_CHAR,
groupBySummarySelectionPWEchoChar);
cellStyle.setAttributeValue(CellStyleAttributes.TEXT_DECORATION,
groupBySummarySelectionTextDecoration);
return cellStyle;
}