Examples of BorderlessButton


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(BorderLayout.WEST, new JLabel(Messages.getString("ScriptableDataSourceEditor.AvailableQueries")));
    theQueryControlsPanel.add(BorderLayout.EAST, theQueryButtonsPanel);
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("MondrianDataSourceEditor.AvailableQueriesLabel")), BorderLayout.WEST);
    theQueryControlsPanel.add(theQueryButtonsPanel, BorderLayout.EAST);
View Full Code Here

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

  }

  private JPanel createQueryNameListPanel()
  {
    final JPanel queryListButtonsPanel = new JPanel(new FlowLayout(FlowLayout.RIGHT));
    queryListButtonsPanel.add(new BorderlessButton(new QueryAddAction()));
    queryListButtonsPanel.add(new BorderlessButton(removeQueryAction));

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

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

  private JPanel createQueryListPanel()
  {
    // Create the query list panel
    final JPanel queryButtons = new JPanel(new FlowLayout(FlowLayout.RIGHT, 5, 5));
    queryButtons.add(new BorderlessButton(new QueryAddAction<T>(dialogModel)));
    queryButtons.add(new BorderlessButton(new QueryRemoveAction<T>(dialogModel)));

    final JPanel queryControlPanel = new JPanel(new BorderLayout());
    queryControlPanel.add(new JLabel(Messages.getString("QueryEditorPanel.AvailableQueries")), BorderLayout.WEST);
    queryControlPanel.add(queryButtons, BorderLayout.EAST);
View Full Code Here

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

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

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

    final JPanel queryControlsPanel = new JPanel(new BorderLayout());
    queryControlsPanel.add(new JLabel(Messages.getString("JdbcDataSourceDialog.QueryDetailsLabel")), BorderLayout.WEST);
    queryControlsPanel.add(queryButtonsPanel, 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(Messages.getString("JdbcDataSourceDialog.AvailableQueries")), BorderLayout.WEST);
    theQueryControlsPanel.add(theQueryButtonsPanel, BorderLayout.EAST);
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("TableDataSourceEditor.QueryDetailsLabel")), BorderLayout.WEST);
    queryListDetailsPanel.add(queryListButtonsPanel, BorderLayout.EAST);
View Full Code Here

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

    queryNameList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
    queryNameList.setVisibleRowCount(5);
    queryNameList.addListSelectionListener(new QueryNameListSelectionListener());
    queryNameList.setCellRenderer(new QueryNameListCellRenderer());

    queryAddButton = new BorderlessButton(new AddQueryAction());
    queryRemoveButton = new BorderlessButton(new RemoveQueryAction());

    queryNameTextField = new JTextField(null, 0);
    queryNameTextField.setColumns(35);
    queryNameTextField.getDocument().addDocumentListener(new QueryNameTextFieldDocumentListener());
View Full Code Here

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

    addColumnAction = new AddColumnAction();
    removeRowAction = new RemoveRowAction();
    removeColumnAction = new RemoveColumnAction();

    final JPanel toolbar = new JPanel(new FlowLayout(FlowLayout.RIGHT));
    toolbar.add(new BorderlessButton(addRowAction));
    toolbar.add(new BorderlessButton(addColumnAction));
    toolbar.add(new BorderlessButton(removeRowAction));
    toolbar.add(new BorderlessButton(removeColumnAction));

    setLayout(new BorderLayout());
    add(toolbar, BorderLayout.NORTH);
    setBorder(BorderFactory.createEmptyBorder(0, 5, 5, 5));
    add(new JScrollPane(table), BorderLayout.CENTER);
View Full Code Here

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

    if (isSecurityConfigurationAvailable())
    {
      connectionButtonPanel.add(new JButton(createEditSecurityAction()));
      connectionButtonPanel.add(Box.createHorizontalStrut(40));
    }
    connectionButtonPanel.add(new BorderlessButton(editDataSourceAction));
    connectionButtonPanel.add(new BorderlessButton(new AddDataSourceAction(dataSourceList)));
    connectionButtonPanel.add(new BorderlessButton(removeDataSourceAction));

    final JPanel connectionButtonPanelWrapper = new JPanel(new BorderLayout());
    connectionButtonPanelWrapper.add(new JLabel(bundleSupport.getString("ConnectionPanel.Connections")), BorderLayout.CENTER);
    connectionButtonPanelWrapper.add(connectionButtonPanel, 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.