Examples of BorderlessButton


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

    namePanel.setBorder(BorderFactory.createEmptyBorder(5, 5, 0, 0));
    namePanel.add(BorderLayout.NORTH, new JLabel(Messages.getString("TableDataSourceEditor.QueryName")));
    namePanel.add(BorderLayout.CENTER, queryNameTextField);

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

    final JPanel tableCarrierPane = new JPanel(new BorderLayout());
    tableCarrierPane.add(theToolBar, BorderLayout.NORTH);
    tableCarrierPane.setBorder(BorderFactory.createEmptyBorder(0, 5, 5, 5));
    tableCarrierPane.add(new JScrollPane(table), BorderLayout.CENTER);
View Full Code Here

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

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

    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("TableDataSourceEditor.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);

    final RemoveArgumentAction removeArgumentAction = new RemoveArgumentAction();
    argumentTable.getSelectionModel().addListSelectionListener(removeArgumentAction);

    final JPanel argumentsButtonPanel = new JPanel();
    argumentsButtonPanel.setLayout(new FlowLayout(FlowLayout.RIGHT, 5, 5));
    argumentsButtonPanel.add(new BorderlessButton(new AddArgumentAction()));
    argumentsButtonPanel.add(new BorderlessButton(removeArgumentAction));
    argumentsButtonPanel.add(new BorderlessButton(new SortBulkUpAction(argumentTableModel, argumentTable.getSelectionModel())));
    argumentsButtonPanel.add(new BorderlessButton(new SortBulkDownAction(argumentTableModel, argumentTable.getSelectionModel())));

    final JPanel argumentsButtonCarrier = new JPanel();
    argumentsButtonCarrier.setLayout(new BorderLayout());
    argumentsButtonCarrier.add(argumentsButtonPanel, BorderLayout.NORTH);
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

    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

      {
        throw new NullPointerException();
      }
      this.rawTabName = tabName;

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

    final QueryRemoveActionListener removeQueryAction = new QueryRemoveActionListener();
    queryNameList.addListSelectionListener(removeQueryAction);

    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

    // 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

    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.