Package org.pentaho.reporting.libraries.designtime.swing

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


    languageField = new SmartComboBox(new DefaultComboBoxModel(InternalBSFManager.getRegisteredLanguages()));
    languageField.getModel().addListDataListener(new UpdateLanguageHandler());

    final JPanel panel = new JPanel();
    panel.setLayout(new VerticalLayout(5, VerticalLayout.BOTH));
    panel.add(new JLabel(EditorExpressionsMessages.getString("BSFScriptingExpressionEditor.Language")));
    panel.add(languageField);

    getPanel().add(panel, BorderLayout.NORTH);
  }
View Full Code Here

  private JComponent createPreviewPanel()
  {
    final ColorChooserMessages messages = ColorChooserMessages.getInstance();
    final JPanel p = new JPanel();
    p.setLayout(new VerticalLayout());
    p.add(new JLabel(messages.getString("New")));
    p.add(previewPanel);
    p.add(new JLabel(messages.getString("Old")));
    return p;
  }
View Full Code Here

  {
    final JPanel queryHeader2 = new JPanel(new BorderLayout());
    queryHeader2.add(new JLabel(Messages.getString("MondrianDataSourceEditor.QueryScript")), BorderLayout.CENTER);
    queryHeader2.add(new JButton(queryTemplateAction), BorderLayout.EAST);

    final JPanel queryScriptHeader = new JPanel(new VerticalLayout(5, VerticalLayout.BOTH, VerticalLayout.TOP));
    queryScriptHeader.add(new JLabel(Messages.getString("MondrianDataSourceEditor.QueryScriptLanguage")));
    queryScriptHeader.add(queryLanguageField);
    queryScriptHeader.add(queryHeader2);

    final JPanel queryScriptContentHolder = new JPanel(new BorderLayout());
View Full Code Here

  {
    final JPanel globalHeader2 = new JPanel(new BorderLayout());
    globalHeader2.add(new JLabel(Messages.getString("MondrianDataSourceEditor.GlobalScript")), BorderLayout.CENTER);
    globalHeader2.add(new JButton(globalTemplateAction), BorderLayout.EAST);

    final JPanel globalScriptHeader = new JPanel(new VerticalLayout(5, VerticalLayout.BOTH, VerticalLayout.TOP));
    globalScriptHeader.add(new JLabel(Messages.getString("MondrianDataSourceEditor.GlobalScriptLanguage")));
    globalScriptHeader.add(globalLanguageField);
    globalScriptHeader.add(globalHeader2);

    final JPanel globalScriptContentHolder = new JPanel(new BorderLayout());
View Full Code Here

    previewPanel.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 4));
    previewPanel.add(new JButton(previewAction));

    final JPanel contentPane = new JPanel();
    contentPane.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));
    contentPane.setLayout(new VerticalLayout(5, VerticalLayout.BOTH));
    contentPane.add(fileLabel);
    contentPane.add(filePanel);
    contentPane.add(createQueryNameListPanel());
    contentPane.add(queryNameStringLabel);
    contentPane.add(queryNameTextField);
View Full Code Here

  {
    final JPanel queryHeader2 = new JPanel(new BorderLayout());
    queryHeader2.add(new JLabel(Messages.getString("QueryEditorPanel.QueryScript")), BorderLayout.CENTER);
    queryHeader2.add(new JButton(queryTemplateAction), BorderLayout.EAST);

    final JPanel queryScriptHeader = new JPanel(new VerticalLayout(5, VerticalLayout.BOTH, VerticalLayout.TOP));
    queryScriptHeader.add(new JLabel(Messages.getString("QueryEditorPanel.QueryScriptLanguage")));
    queryScriptHeader.add(queryLanguageField);
    queryScriptHeader.add(queryHeader2);

    final JPanel queryScriptContentHolder = new JPanel(new BorderLayout());
View Full Code Here

  {
    final JPanel globalHeader2 = new JPanel(new BorderLayout());
    globalHeader2.add(new JLabel(Messages.getString("QueryEditorPanel.GlobalScript")), BorderLayout.CENTER);
    globalHeader2.add(new JButton(globalTemplateAction), BorderLayout.EAST);

    final JPanel globalScriptHeader = new JPanel(new VerticalLayout(5, VerticalLayout.BOTH, VerticalLayout.TOP));
    globalScriptHeader.add(new JLabel(Messages.getString("QueryEditorPanel.GlobalScriptLanguage")));
    globalScriptHeader.add(globalLanguageField);
    globalScriptHeader.add(globalHeader2);

    final JPanel globalScriptContentHolder = new JPanel(new BorderLayout());
View Full Code Here

    filePanel.setLayout(new BoxLayout(filePanel, BoxLayout.X_AXIS));
    filePanel.add(filenameField);
    filePanel.add(new JButton(new BrowseAction()));

    final JPanel queryConfigurationPanel = new JPanel();
    queryConfigurationPanel.setLayout(new VerticalLayout(5, VerticalLayout.BOTH, VerticalLayout.TOP));
    queryConfigurationPanel.add(new JLabel(Messages.getString("PmdDataSourceEditor.XmiFileLabel")));
    queryConfigurationPanel.add(filePanel);
    queryConfigurationPanel.add(new JLabel(Messages.getString("PmdDataSourceEditor.DomainId")));
    queryConfigurationPanel.add(domainIdTextField);
View Full Code Here

  {
    final JPanel queryHeader2 = new JPanel(new BorderLayout());
    queryHeader2.add(new JLabel(Messages.getString("JdbcDataSourceDialog.QueryScript")), BorderLayout.CENTER);
    queryHeader2.add(new JButton(queryTemplateAction), BorderLayout.EAST);

    final JPanel queryScriptHeader = new JPanel(new VerticalLayout(5, VerticalLayout.BOTH, VerticalLayout.TOP));
    queryScriptHeader.add(new JLabel(Messages.getString("JdbcDataSourceDialog.QueryScriptLanguage")));
    queryScriptHeader.add(queryLanguageField);
    queryScriptHeader.add(queryHeader2);

    final JPanel queryScriptContentHolder = new JPanel(new BorderLayout());
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.libraries.designtime.swing.VerticalLayout

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.