Package org.pentaho.reporting.engine.classic.core.modules.gui.commonswing.action

Examples of org.pentaho.reporting.engine.classic.core.modules.gui.commonswing.action.ActionButton


    final JPanel contentPane = new JPanel();
    contentPane.setLayout(new GridBagLayout());
    contentPane.setBorder(BorderFactory.createEmptyBorder(3, 3, 3, 3));

    final JLabel lblFileName = new JLabel(getResources().getString("plain-text-exportdialog.filename")); //$NON-NLS-1$
    final JButton btnSelect = new ActionButton(new ActionSelectFile(getResources()));

    GridBagConstraints gbc = new GridBagConstraints();
    gbc.gridx = 0;
    gbc.gridy = 0;
    gbc.anchor = GridBagConstraints.WEST;
View Full Code Here


    contentPane.setLayout(new GridBagLayout());
    contentPane.setBorder(BorderFactory.createEmptyBorder(3, 3, 3, 3));

    final JLabel lblFileName = new JLabel(getResources().getString(
        "excelexportdialog.filename")); //$NON-NLS-1$
    final JButton btnSelect = new ActionButton(getActionSelectFile());

    txFilename = new JTextField();
    cbStrictLayout = new JCheckBox(getResources().getString(
        "excelexportdialog.strict-layout")); //$NON-NLS-1$
View Full Code Here

  }

  private JPanel createExportPane()
  {
    final JLabel lblFileName = new JLabel(getResources().getString("csvexportdialog.filename")); //$NON-NLS-1$
    final JButton btnSelect = new ActionButton(new CSVTableExportDialog.ActionSelectFile(getResources()));
    final JPanel exportPane = new JPanel();
    exportPane.setLayout(new GridBagLayout());
    exportPane.setBorder(BorderFactory.createEmptyBorder(3, 3, 3, 3));

    GridBagConstraints gbc = new GridBagConstraints();
View Full Code Here

    gbc = new GridBagConstraints();
    gbc.anchor = GridBagConstraints.WEST;
    gbc.fill = GridBagConstraints.HORIZONTAL;
    gbc.gridx = 2;
    gbc.gridy = 1;
    contentPane.add(new ActionButton(new ActionSelectDirFile(getResources())), gbc);

    final JPanel advancedOptionsPane = new JPanel();
    advancedOptionsPane.setLayout(new BorderLayout());
    advancedOptionsPane.add(contentPane, BorderLayout.NORTH);
    return advancedOptionsPane;
View Full Code Here

  }

  private JPanel createExportPanel()
  {
    final JButton btnSelect = new ActionButton(new ActionSelectFile(getResources()));
    final JLabel lblFileName = new JLabel(getResources().getString("pdfsavedialog.filename")); //$NON-NLS-1$
    final JPanel mainPanel = new JPanel();
    mainPanel.setLayout(new GridBagLayout());
    mainPanel.setBorder(BorderFactory.createEmptyBorder(3, 3, 3, 3));
    GridBagConstraints gbc = new GridBagConstraints();
View Full Code Here

    gbc = new GridBagConstraints();
    gbc.gridx = 1;
    gbc.gridy = 2;
    gbc.anchor = GridBagConstraints.EAST;
    add(new ActionButton(updateAction));

    setEnabled(false);
    messageOneField.setEnabled(false);
    messageTwoField.setEnabled(false);
    updateAction.setEnabled(false);
View Full Code Here

    txDataArea = new JTextArea();
    cbxColumnNamesAsFirstRow = new JCheckBox("First Row contains Column-Names");

    final JLabel lbDataArea = new JLabel("CSV-Data");
    final JLabel lbLoadData = new JLabel("Load Data from File");
    final ActionButton btLoadData = new ActionButton(new LoadCSVDataAction());

    final JPanel dataPanel = new JPanel();
    dataPanel.setLayout(new GridBagLayout());

    GridBagConstraints gbc = new GridBagConstraints();
View Full Code Here

    final JScrollPane scrollPane = new JScrollPane(table);
    add(scrollPane, BorderLayout.CENTER);

    final JPanel buttonPanel = new JPanel();
    buttonPanel.setLayout(new FlowLayout(FlowLayout.TRAILING));
    buttonPanel.add(new ActionButton(new SelectRepositoryFileAction()));
    add(buttonPanel, BorderLayout.SOUTH);

    loadData(findDataFile());
  }
View Full Code Here

  private JDesktopPane init(final DemoController ctrl)
  {
    final JPanel content = new JPanel(new BorderLayout());
    content.setBorder(BorderFactory.createEmptyBorder(4, 4, 4, 4));
    content.add(createDefaultTable(data));
    content.add(new ActionButton(ctrl.getExportAction()), BorderLayout.SOUTH);

    final JInternalFrame frame = new JInternalFrame();
    frame.setClosable(false);
    frame.setVisible(true);
    frame.setContentPane(content);
View Full Code Here

    }

    final JScrollPane scroll = new JScrollPane(editorPane,
        JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED, JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);

    final JButton previewButton = new ActionButton(getPreviewAction());

    final JSplitPane splitPane = new JSplitPane(JSplitPane.VERTICAL_SPLIT);
    splitPane.setTopComponent(scroll);
    splitPane.setBottomComponent(demoHandler.getPresentationComponent());
    content.add(splitPane, BorderLayout.CENTER);
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.engine.classic.core.modules.gui.commonswing.action.ActionButton

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.