Package org.eobjects.datacleaner.widgets.table

Examples of org.eobjects.datacleaner.widgets.table.DCTable.toPanel()


    updateTableModel(table, list);

    final Image image = ImageManager.getInstance().getImage("images/actions/reorder-columns.png");

    final DCPanel tablePanel = table.toPanel();
    tablePanel.setBorder(new CompoundBorder(WidgetUtils.BORDER_SHADOW, WidgetUtils.BORDER_THIN));

    final JDialog dialog = new JDialog();

    final JButton button = new JButton("Save order", new ImageIcon(image));
View Full Code Here


    for (Object object : values) {
      model.setValueAt(object, i, 0);
      i++;
    }
    DCTable table = new DCTable(model);
    return table.toPanel();
  }

}
View Full Code Here

    });
    toolBar.add(addDriverButton);

    final DCTable table = getDatabaseDriverTable();
    this.add(toolBar, BorderLayout.NORTH);
    this.add(table.toPanel(), BorderLayout.CENTER);
  }

  /**
   * Called by other components in case a driver list update is needed.
   */
 
View Full Code Here

    saveToFileButton.addActionListener(new SaveDataSetActionListener(result.getInputColumns(), result.getRows(),
        userPreferences));
    buttonPanel.add(saveToFileButton);

    panel.add(buttonPanel);
    panel.add(table.toPanel());
    return panel;
  }

  private void applyDistinctValuesView(DCTable table, AnnotatedRowsResult result) {
    InputColumn<?>[] highlightedColumns = result.getHighlightedColumns();
View Full Code Here

  @Override
  public JComponent render(TableModelResult result) {
    TableModel tableModel = result.toTableModel();
    DCTable table = new DCTable(tableModel);
    return table.toPanel();
  }

}
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.