Examples of ColumnStyle


Examples of org.eclipse.nebula.widgets.nattable.extension.builder.model.ColumnStyle

    public Control createExampleControl(Composite parent) {
        TableColumn[] columns = new TableColumn[] {
                new TableColumn(0, "securityId", "ISIN").setWidth(200)
                        .setEditor(Editors.getTextEditor()).setCategory("C1"),
                new TableColumn(1, "securityDescription", "Name")
                        .setStyle(new ColumnStyle()).setGroupName("A1")
                        .setCategory("C1"),
                new TableColumn(2, "rating", "Rating")
                        .setComparator(getIgnoreCaseComparator())
                        .setGroupName("A1").setCategory("C1"),
                new TableColumn(3, "issueDate", "issueDate").setCategory("C1"),
View Full Code Here

Examples of org.eclipse.nebula.widgets.nattable.extension.builder.model.ColumnStyle

                    columns[colIndex].displayConverter, DisplayMode.NORMAL,
                    columnLabel);

            // Add column visual style
            Style style = new Style();
            ColumnStyle columnStyle = columns[colIndex].style;
            if (ObjectUtils.isNotNull(columnStyle)) {
                style.setAttributeValue(CellStyleAttributes.BACKGROUND_COLOR,
                        columnStyle.bgColor);
                style.setAttributeValue(CellStyleAttributes.FOREGROUND_COLOR,
                        columnStyle.fgColor);
View Full Code Here

Examples of org.jboss.seam.excel.css.ColumnStyle

    * @param worksheet The worksheet to apply the column to
    * @param columnIndex The column index to the column
    */
   public void applyColumnSettings(UIColumn uiColumn, WritableSheet worksheet, int columnIndex)
   {
      ColumnStyle columnStyle = new ColumnStyle(parser.getCascadedStyleMap(uiColumn));

      if (log.isTraceEnabled())
      {
         log.trace("Applying column settings #0 on column #1", columnStyle, columnIndex);
      }
View Full Code Here

Examples of org.jboss.seam.excel.css.ColumnStyle

      List<javax.faces.component.UIColumn> columns = ExcelComponent.getChildrenOfType(dataTable.getChildren(), javax.faces.component.UIColumn.class);
      columnWidths = parseColumnWidths(uiWorksheet);
      int col = 0;
      for (javax.faces.component.UIColumn column : columns)
      {
         ColumnStyle columnStyle = new ColumnStyle(parser.getCascadedStyleMap(column));
         boolean cssExport = columnStyle.export == null || columnStyle.export;
         if (column.isRendered() && cssExport)
         {
            uiWorksheet.getChildren().add(column);
            Iterator iterator = UIWorksheet.unwrapIterator(dataTable.getValue());
View Full Code Here

Examples of org.jboss.seam.excel.css.ColumnStyle

    * @param worksheet The worksheet to apply the column to
    * @param columnIndex The column index to the column
    */
   public void applyColumnSettings(UIColumn uiColumn, WritableSheet worksheet, int columnIndex)
   {
      ColumnStyle columnStyle = new ColumnStyle(parser.getCascadedStyleMap(uiColumn));

      if (log.isTraceEnabled())
      {
         log.trace("Applying column settings #0 on column #1", columnStyle, columnIndex);
      }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.