Package org.pentaho.reporting.designer.core.util.table

Examples of org.pentaho.reporting.designer.core.util.table.SortHeaderPanel$ShowGroupedAction


    table = new ElementMetaDataTable();
    table.setModel(new GroupedMetaTableModel(dataModel));
    table.getColumnModel().getColumn(0).setCellRenderer(new GroupedNameCellRenderer());

    headerPanel = new SortHeaderPanel(dataModel);

    add(headerPanel, BorderLayout.NORTH);
    add(new JScrollPane(table), BorderLayout.CENTER);
  }
View Full Code Here


    table.getColumnModel().getColumn(0).setCellRenderer(new GroupedNameCellRenderer());
    applyHeaderSize(table.getColumnModel().getColumn(1));
    applyHeaderSize(table.getColumnModel().getColumn(3));

    changeHandler = new ReportModelChangeHandler();
    headerPanel = new SortHeaderPanel(dataModel);

    add(headerPanel, BorderLayout.NORTH);
    add(new JScrollPane(table), BorderLayout.CENTER);
  }
View Full Code Here

    table.setModel(new GroupedMetaTableModel(dataModel));
    table.getColumnModel().getColumn(0).setCellRenderer(new GroupedNameCellRenderer());
    applyHeaderSize(table.getColumnModel().getColumn(1));

    changeHandler = new ReportModelChangeHandler(editorContext);
    headerPanel = new SortHeaderPanel(dataModel);

    add(headerPanel, BorderLayout.NORTH);
    add(new JScrollPane(table, JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED, JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED), BorderLayout.CENTER);

    setEnabled(true);
View Full Code Here

      dataModel = new ReportPreProcessorPropertiesTableModel();

      table = new ElementMetaDataTable();
      table.setModel(dataModel);

      headerPanel = new SortHeaderPanel(dataModel);

      add(headerPanel, BorderLayout.NORTH);
      add(new JScrollPane(table), BorderLayout.CENTER);
    }
View Full Code Here

    table = new ElementMetaDataTable();
    table.setModel(dataModel);
    table.getColumnModel().getColumn(0).setCellRenderer(new GroupedNameCellRenderer());

    headerPanel = new SortHeaderPanel(dataModel);

    add(headerPanel, BorderLayout.NORTH);
    add(new JScrollPane(table), BorderLayout.CENTER);
  }
View Full Code Here

    table = new ElementMetaDataTable();
    table.setModel(new GroupedMetaTableModel(dataModel));
    table.getColumnModel().getColumn(0).setCellRenderer(new GroupedNameCellRenderer());
    applyHeaderSize(table.getColumnModel().getColumn(2));

    headerPanel = new SortHeaderPanel(dataModel);

    add(headerPanel, BorderLayout.NORTH);
    add(new JScrollPane(table), BorderLayout.CENTER);
  }
View Full Code Here

  }

  private JPanel createSecondaryDataSourcePanel()
  {
    final JPanel innerSecondaryDataSourcePanel = new JPanel(new BorderLayout());
    innerSecondaryDataSourcePanel.add(new SortHeaderPanel(secondaryDataSourcePropertiesTableModel),
        BorderLayout.NORTH);
    final JComboBox comboBox = new SmartComboBox(editModel.getSecondaryDataSourcesModel());
    comboBox.setRenderer(new ExpressionListCellRenderer());
    innerSecondaryDataSourcePanel.add(comboBox, BorderLayout.CENTER);
View Full Code Here

  }

  private JPanel createPrimaryDataSourcePanel()
  {
    final JPanel innerPrimaryDataSourcePanel = new JPanel(new BorderLayout());
    innerPrimaryDataSourcePanel.add(new SortHeaderPanel(primaryDataSourcePropertiesTableModel), BorderLayout.NORTH);
    final JComboBox comboBox = new SmartComboBox(editModel.getPrimaryDataSourcesModel());
    comboBox.setRenderer(new ExpressionListCellRenderer());
    innerPrimaryDataSourcePanel.add(comboBox, BorderLayout.CENTER);

    final JPanel primaryDataSourcePanel = new JPanel(new BorderLayout());
View Full Code Here

  }

  private JPanel createChartPanel()
  {
    final JPanel innerChartExpressionPanel = new JPanel(new BorderLayout());
    innerChartExpressionPanel.add(new SortHeaderPanel(chartPropertiesTableModel), BorderLayout.NORTH);
    final JComboBox comboBox = new SmartComboBox(editModel.getChartExpressionsModel());
    comboBox.setRenderer(new ExpressionListCellRenderer());
    innerChartExpressionPanel.add(comboBox, BorderLayout.CENTER);

    final JPanel chartExpressionPanel = new JPanel(new BorderLayout());
View Full Code Here

  }

  private JPanel createSecondaryDataSourcePanel()
  {
    final JPanel innerSecondaryDataSourcePanel = new JPanel(new BorderLayout());
    innerSecondaryDataSourcePanel.add(new SortHeaderPanel(secondaryDataSourcePropertiesTableModel),
        BorderLayout.NORTH);
    final JComboBox comboBox = new SmartComboBox(editModel.getSecondaryDataSourcesModel());
    comboBox.setRenderer(new ExpressionListCellRenderer());
    innerSecondaryDataSourcePanel.add(comboBox, BorderLayout.CENTER);
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.designer.core.util.table.SortHeaderPanel$ShowGroupedAction

Copyright © 2018 www.massapicom. 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.