Examples of BorderlessButton


Examples of org.pentaho.reporting.libraries.designtime.swing.BorderlessButton

  private JPanel createButtonPanel()
  {
    final JPanel buttonPanel = new JPanel();
    buttonPanel.setLayout(new FlowLayout(FlowLayout.RIGHT));
    buttonPanel.add(new BorderlessButton(addParameterAction));
    buttonPanel.add(new BorderlessButton(manualParameterRemoveAction));
    return buttonPanel;
  }
View Full Code Here

Examples of org.pentaho.reporting.libraries.designtime.swing.BorderlessButton

    // Create the query list panel
    final RemoveQueryAction queryRemoveAction = new RemoveQueryAction();
    dialogModel.addPropertyChangeListener(queryRemoveAction);

    final JPanel theQueryButtonsPanel = new JPanel(new FlowLayout(FlowLayout.RIGHT, 5, 5));
    theQueryButtonsPanel.add(new BorderlessButton(new AddQueryAction()));
    theQueryButtonsPanel.add(new BorderlessButton(queryRemoveAction));

    final JPanel theQueryControlsPanel = new JPanel(new BorderLayout());
    theQueryControlsPanel.add(new JLabel(Messages.getString("Olap4JDataSourceEditor.AvailableQueriesLabel")), BorderLayout.WEST);
    theQueryControlsPanel.add(theQueryButtonsPanel, BorderLayout.EAST);
View Full Code Here

Examples of org.pentaho.reporting.libraries.designtime.swing.BorderlessButton

  {
    final RemoveQueryAction removeQueryAction = new RemoveQueryAction();
    queryNameList.addListSelectionListener(removeQueryAction);

    final JPanel queryListButtonsPanel = new JPanel(new FlowLayout(FlowLayout.RIGHT));
    queryListButtonsPanel.add(new BorderlessButton(new AddQueryAction()));
    queryListButtonsPanel.add(new BorderlessButton(removeQueryAction));

    final JPanel queryListPanel = new JPanel(new BorderLayout());
    queryListPanel.setBorder(BorderFactory.createEmptyBorder(0, 5, 5, 0));
    queryListPanel.add(new JScrollPane(queryNameList), BorderLayout.CENTER);
    queryListPanel.add(queryListButtonsPanel, BorderLayout.NORTH);
View Full Code Here

Examples of org.pentaho.reporting.libraries.designtime.swing.BorderlessButton

  private JPanel createQuerySelectionPanel()
  {
    final QueryRemoveAction removeQueryAction = new QueryRemoveAction(queries);

    final JPanel queryListButtonsPanel = new JPanel(new FlowLayout(FlowLayout.RIGHT));
    queryListButtonsPanel.add(new BorderlessButton(new QueryAddAction(queries)));
    queryListButtonsPanel.add(new BorderlessButton(removeQueryAction));


    final JPanel queryListDetailsPanel = new JPanel(new BorderLayout());
    queryListDetailsPanel.add(new JLabel(Messages.getString("SequenceDataSourceEditor.QueryDetailsLabel")), BorderLayout.WEST);
    queryListDetailsPanel.add(queryListButtonsPanel, BorderLayout.EAST);
View Full Code Here

Examples of org.pentaho.reporting.libraries.designtime.swing.BorderlessButton

    final RemoveParameterAction removeParameterAction = new RemoveParameterAction();
    parameterMappingTable.getSelectionModel().addListSelectionListener(removeParameterAction);

    final JPanel parameterMappingButtonPanel = new JPanel(new FlowLayout(FlowLayout.RIGHT, 5, 5));
    parameterMappingButtonPanel.add(new BorderlessButton(new AddParameterAction()));
    parameterMappingButtonPanel.add(new BorderlessButton(new RemoveParameterAction()));

    final JPanel parameterMappingPanel = new JPanel(new BorderLayout());
    parameterMappingPanel.setBorder(BorderFactory.createTitledBorder(Messages.getString("ParameterEditorDialog.ParameterBox")));
    parameterMappingPanel.add(new JScrollPane(parameterMappingTable), BorderLayout.CENTER);
    parameterMappingPanel.add(parameterMappingButtonPanel, BorderLayout.NORTH);
View Full Code Here

Examples of org.pentaho.reporting.libraries.designtime.swing.BorderlessButton

    final QueryRemoveAction queryRemoveAction = new QueryRemoveAction();
    queryNameList.addListSelectionListener(queryRemoveAction);

    final JPanel theQueryButtonsPanel = new JPanel(new FlowLayout(FlowLayout.RIGHT));
    theQueryButtonsPanel.add(new BorderlessButton(new QueryAddAction()));
    theQueryButtonsPanel.add(new BorderlessButton(queryRemoveAction));

    final JPanel theQueryControlsPanel = new JPanel(new BorderLayout());
    theQueryControlsPanel.add(new JLabel(messages.getString("ReflectionDataSourceEditor.AvailableQueries")), BorderLayout.WEST);
    theQueryControlsPanel.add(theQueryButtonsPanel, BorderLayout.EAST);
View Full Code Here

Examples of org.pentaho.reporting.libraries.designtime.swing.BorderlessButton

    }
    this.tabbedPane = tabbedPane;
    this.rawTabName = tabName;
    this.context = context;

    closeButton = new BorderlessButton();
    closeButton.setBorder(new EmptyBorder(0, 0, 0, 0));
    closeButton.setPressedIcon(new CloseTabIcon(false, true));
    closeButton.setIcon(new CloseTabIcon(false, false));
    closeButton.setRolloverIcon(new CloseTabIcon(true, false));
    closeButton.setRolloverEnabled(true);
View Full Code Here

Examples of org.pentaho.reporting.libraries.designtime.swing.BorderlessButton

    final JPanel previewAndParameterPanel = new JPanel(new FlowLayout(FlowLayout.RIGHT, 5, 5));
    previewAndParameterPanel.add(new JButton(editParameterAction));
    previewAndParameterPanel.add(new JButton(previewAction));

    final JPanel queryListButtonsPanel = new JPanel(new FlowLayout(FlowLayout.RIGHT));
    queryListButtonsPanel.add(new BorderlessButton(new AddQueryAction()));
    queryListButtonsPanel.add(new BorderlessButton(removeQueryAction));

    final JPanel queryListPanel = new JPanel(new BorderLayout());
    queryListPanel.setBorder(BorderFactory.createEmptyBorder(0, 5, 5, 0));
    queryListPanel.add(new JScrollPane(queryNameList), BorderLayout.CENTER);
    queryListPanel.add(queryListButtonsPanel, BorderLayout.NORTH);
View Full Code Here

Examples of org.pentaho.reporting.libraries.designtime.swing.BorderlessButton

    final InvokeQueryDesignerAction queryDesignerAction = new InvokeQueryDesignerAction();
    dialogModel.addPropertyChangeListener(queryDesignerAction);

    final JPanel theQueryButtonsPanel = new JPanel(new FlowLayout(FlowLayout.RIGHT, 5, 5));
    theQueryButtonsPanel.add(new BorderlessButton(queryDesignerAction));

    final JPanel theQueryControlsPanel = new JPanel(new BorderLayout());
    theQueryControlsPanel.add(new JLabel(getBundleSupport().getString("JdbcDataSourceDialog.QueryDetailsLabel")), BorderLayout.WEST);
    theQueryControlsPanel.add(theQueryButtonsPanel, BorderLayout.EAST);
View Full Code Here

Examples of org.pentaho.reporting.libraries.designtime.swing.BorderlessButton

    // Create the query list panel
    final QueryRemoveAction queryRemoveAction = new QueryRemoveAction();
    dialogModel.addPropertyChangeListener(queryRemoveAction);

    final JPanel theQueryButtonsPanel = new JPanel(new FlowLayout(FlowLayout.RIGHT, 5, 5));
    theQueryButtonsPanel.add(new BorderlessButton(new QueryAddAction()));
    theQueryButtonsPanel.add(new BorderlessButton(queryRemoveAction));

    final JPanel theQueryControlsPanel = new JPanel(new BorderLayout());
    theQueryControlsPanel.add(new JLabel(getBundleSupport().getString("JdbcDataSourceDialog.AvailableQueries")), BorderLayout.WEST);
    theQueryControlsPanel.add(theQueryButtonsPanel, BorderLayout.EAST);
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.