Examples of VerticalLayout


Examples of org.jdesktop.swingx.VerticalLayout

    final JToolBar toolBar = WidgetFactory.createToolBar();
    toolBar.add(WidgetFactory.createToolBarSeparator());
    toolBar.add(addExtensionButton);

    final DCPanel listPanel = new DCPanel();
    listPanel.setLayout(new VerticalLayout(4));
    listPanel.setBorder(new EmptyBorder(0, 10, 10, 0));

    final ImageIcon pluginIcon = imageManager.getImageIcon("images/component-types/plugin.png");
    final ImageIcon errorIcon = imageManager.getImageIcon("images/status/error.png");
View Full Code Here

Examples of org.jdesktop.swingx.VerticalLayout

    DCPanel buttonPanel = new DCPanel();
    buttonPanel.setLayout(new FlowLayout(FlowLayout.RIGHT, 0, 0));
    buttonPanel.add(_addDatastoreButton);

    DCPanel centerPanel = new DCPanel();
    centerPanel.setLayout(new VerticalLayout(4));
    centerPanel.add(formPanel);
    if (isPreviewTableEnabled()) {
      centerPanel.add(_previewTablePanel);
    }
    centerPanel.add(buttonPanel);
View Full Code Here

Examples of org.jdesktop.swingx.VerticalLayout

      }
    });

    _sourceTabOuterPanel = new DCPanel(imageManager.getImage("images/window/source-tab-background.png"), 95, 95,
        WidgetUtils.BG_COLOR_BRIGHT, WidgetUtils.BG_COLOR_BRIGHTEST);
    _sourceTabOuterPanel.setLayout(new VerticalLayout(0));

    _schemaTreePanel = schemaTreePanel;
    _metadataPanel = metadataPanel;

    _leftPanel = new CollapsibleTreePanel(_schemaTreePanel);
View Full Code Here

Examples of org.jdesktop.swingx.VerticalLayout

    // temporary variable to make it easier to refactor the layout
    WidgetUtils.addToGridBag(DCLabel.bright("Datastore name:"), formPanel, 0, 0);
    WidgetUtils.addToGridBag(_datastoreNameField, formPanel, 1, 0);

    final DCPanel checkBoxPanel = new DCPanel().setTitledBorder("Contained datastores");
    checkBoxPanel.setLayout(new VerticalLayout(4));

    for (JCheckBox checkBox : _checkBoxes) {
      checkBoxPanel.add(checkBox);
    }

    WidgetUtils.addToGridBag(checkBoxPanel, formPanel, 0, 1, 2, 1);

    _addDatastoreButton.addActionListener(new ActionListener() {
      @Override
      public void actionPerformed(ActionEvent e) {
        final List<Datastore> datastores = new ArrayList<Datastore>();

        for (JCheckBox checkBox : _checkBoxes) {
          if (checkBox.isSelected()) {
            String datastoreName = checkBox.getText();
            Datastore datastore = _mutableDatastoreCatalog.getDatastore(datastoreName);
            if (datastore == null) {
              throw new IllegalStateException("No such datastore: " + datastoreName);
            }
            datastores.add(datastore);
          }
        }

        final Datastore datastore = new CompositeDatastore(_datastoreNameField.getText(), datastores);

        if (_originalDatastore != null) {
          _mutableDatastoreCatalog.removeDatastore(_originalDatastore);
        }

        _mutableDatastoreCatalog.addDatastore(datastore);
        dispose();
      }
    });

    DCPanel buttonPanel = new DCPanel();
    buttonPanel.setLayout(new FlowLayout(FlowLayout.RIGHT, 0, 0));
    buttonPanel.add(_addDatastoreButton);

    DCPanel centerPanel = new DCPanel();
    centerPanel.setLayout(new VerticalLayout(4));
    centerPanel.add(formPanel);
    centerPanel.add(buttonPanel);

    JXStatusBar statusBar = WidgetFactory.createStatusBar(_statusLabel);
View Full Code Here

Examples of org.jdesktop.swingx.VerticalLayout

  public MultiSourceColumnComboBoxPanel() {
    _sourceComboBoxPanel = new DCPanel();
    _buttonPanel = new DCPanel();
    _sourceComboBoxPanel.setBorder(new EmptyBorder(0, 4, 0, 0));
    _sourceComboBoxPanel.setLayout(new VerticalLayout());
    _sourceColumnComboBoxes = new ArrayList<SourceColumnComboBox>();

    JButton addButton = WidgetFactory.createSmallButton("images/actions/add.png");
    JButton removeButton = WidgetFactory.createSmallButton("images/actions/remove.png");

    _buttonPanel.setBorder(new EmptyBorder(0, 4, 0, 0));
    _buttonPanel.setLayout(new VerticalLayout(2));

    _buttonPanel.add(addButton);
    _buttonPanel.add(removeButton);

    addButton.addActionListener(new ActionListener() {
View Full Code Here

Examples of org.jdesktop.swingx.VerticalLayout

  }

  @Override
  protected JComponent getDialogContent() {
    DCPanel centerPanel = new DCPanel();
    centerPanel.setLayout(new VerticalLayout(4));

    for (int i = 0; i < _files.length; i++) {

      final JLabel ofLabel = new JLabel(" of ");
      ofLabel.setForeground(WidgetUtils.BG_COLOR_BRIGHTEST);
View Full Code Here

Examples of org.jdesktop.swingx.VerticalLayout

        .brightMultiLine("A simple dictionary is a dictionary that you enter directly in DataCleaner. In the 'Values' field you can enter each value of the dictionary on a separate line.");
    descriptionLabel.setBorder(new EmptyBorder(10, 10, 10, 20));
    descriptionLabel.setPreferredSize(new Dimension(300, 100));

    final DCPanel mainPanel = new DCPanel();
    mainPanel.setLayout(new VerticalLayout(4));
    mainPanel.add(descriptionLabel);
    mainPanel.add(formPanel);

    final JScrollPane scroll = WidgetUtils.scrolleable(mainPanel);
    return scroll;
View Full Code Here

Examples of org.jfree.ui.tabbedui.VerticalLayout

    });
    mnOperations.add(mntmCategoryManagm);
   
    this.getContentPane().add(menuBar);
    this.getContentPane().add(chartPanel);
        this.getContentPane().setLayout(new VerticalLayout());
    this.setTitle("Dashboard");
//    setVisible(true);
  }
View Full Code Here

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

    }
  }

  protected Component createContentPane()
  {
    final JPanel headerPanel = new JPanel(new VerticalLayout(5, VerticalLayout.LEFT, VerticalLayout.TOP));
    headerPanel.add(new JLabel(EditorExpressionsMessages.getString("ExpressionEditorDialog.SelectedExpression")));
    headerPanel.add(expressionEditor);

    final JPanel panel = new JPanel();
    panel.setLayout(new BorderLayout());
View Full Code Here

Examples of org.pentaho.reporting.tools.configeditor.util.VerticalLayout

    editorArea = new JPanel();
    editorArea.setLayout(new BorderLayout());

    final JPanel contentArea = new JPanel();
    contentArea.setLayout(new VerticalLayout());//this, BoxLayout.Y_AXIS));
    contentArea.add(moduleNameField);
    contentArea.add(producerField);
    contentArea.add(descriptionArea);

    setLayout(new BorderLayout());
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.