Package javax.swing

Examples of javax.swing.JTabbedPane


    encodingModel.sort();
    cbEncoding = new JComboBox(encodingModel);

    final JPanel exportPane = createExportPane();

    final JTabbedPane tabbedPane = new JTabbedPane();
    tabbedPane.add(getResources().getString("csvexportdialog.export-settings"), exportPane); //$NON-NLS-1$
    tabbedPane.add(getResources().getString("csvexportdialog.parameters"), getParametersPanel()); //$NON-NLS-1$
    final Configuration config = ClassicEngineBoot.getInstance().getGlobalConfig();
    if ("true".equals(config.getConfigProperty(
        "org.pentaho.reporting.engine.classic.core.modules.gui.csv.data.AdvancedSettingsAvailable")))
    {
      tabbedPane.add(getResources().getString("csvexportdialog.advanced-settings"),
          createAdvancedOptionsPanel()); //$NON-NLS-1$
    }
    setContentPane(createContentPane(tabbedPane));

    getFormValidator().registerTextField(txFilename);
View Full Code Here


        "true".equals(config.getConfigProperty(
            "org.pentaho.reporting.engine.classic.core.modules.gui.html.zip.AdvancedSettingsAvailable"));
    final boolean metaDataSettingsTabAvail =
        "true".equals(config.getConfigProperty(
            "org.pentaho.reporting.engine.classic.core.modules.gui.html.zip.MetaDataSettingsAvailable"));
    final JTabbedPane tabbedPane = new JTabbedPane();
    tabbedPane.add(getResources().getString("htmlexportdialog.export-settings"), exportPane); //$NON-NLS-1$
    tabbedPane.add(getResources().getString("htmlexportdialog.parameters"), getParametersPanel()); //$NON-NLS-1$

    if (metaDataSettingsTabAvail)
    {
      tabbedPane.add(getResources().getString("htmlexportdialog.metadata-settings"),
          createMetaDataPanel()); //$NON-NLS-1$
    }
    if (advancedSettingsTabAvail)
    {
      tabbedPane.add(getResources().getString("htmlexportdialog.advanced-settings"),
          createExportOptionsPanel()); //$NON-NLS-1$
    }

    setContentPane(createContentPane(tabbedPane));
  }
View Full Code Here

  private HashMap paneInfo = null;
  private boolean isConstructed = false;

  public TabbedPane(Widget parent, String name) throws GUIException {
    super(parent, name);
    pane = new JTabbedPane();
    paneInfo = new HashMap();
  }
View Full Code Here

  /**
   * Initializes the Swing components of this dialog.
   */
  private void initialize()
  {
    JTabbedPane theTabbedPane = new JTabbedPane();
    theTabbedPane.add(getResources().getString("rtf-exportdialog.export-settings"), createExportPanel());
    theTabbedPane.add(getResources().getString("rtf-exportdialog.parameters"), getParametersPanel());
    setContentPane(createContentPane(theTabbedPane));
  }
View Full Code Here

        "true".equals(config.getConfigProperty(
            "org.pentaho.reporting.engine.classic.core.modules.gui.html.file.AdvancedSettingsAvailable"));
    final boolean metaDataSettingsTabAvail =
        "true".equals(config.getConfigProperty(
            "org.pentaho.reporting.engine.classic.core.modules.gui.html.file.MetaDataSettingsAvailable"));
    final JTabbedPane tabbedPane = new JTabbedPane();
    tabbedPane.add(getResources().getString("htmlexportdialog.export-settings"), exportPane); //$NON-NLS-1$
    tabbedPane.add(getResources().getString("htmlexportdialog.parameters"), getParametersPanel());
    if (metaDataSettingsTabAvail)
    {
      tabbedPane.add(getResources().getString("htmlexportdialog.metadata-settings"),
          createMetaDataPanel()); //$NON-NLS-1$
    }
    if (advancedSettingsTabAvail)
    {
      tabbedPane.add(getResources().getString("htmlexportdialog.advanced-settings"),
          createExportOptionsPanel()); //$NON-NLS-1$
    }

    setContentPane(createContentPane(tabbedPane));
  }
View Full Code Here

  /**
   * Initializes the Swing components of this dialog.
   */
  private void initialize()
  {
    final JTabbedPane theTabbedPane = new JTabbedPane();
    theTabbedPane.add(getResources().getString("excelexportdialog.export-settings"), createExportPanel());
    theTabbedPane.add(getResources().getString("excelexportdialog.parameters"), getParametersPanel());
    setContentPane(createContentPane(theTabbedPane));
  }
View Full Code Here

    final Configuration config = ClassicEngineBoot.getInstance().getGlobalConfig();
    final boolean advancedSettingsTabAvail =
        "true".equals(config.getConfigProperty(
            "org.pentaho.reporting.engine.classic.core.modules.gui.plaintext.AdvancedSettingsAvailable"));
    final JTabbedPane tabbedPane = new JTabbedPane();
    tabbedPane.add(getResources().getString("plain-text-exportdialog.export-settings"), exportPane); //$NON-NLS-1$
    tabbedPane.add(getResources().getString("plain-text-exportdialog.parameters"), getParametersPanel());

    if (advancedSettingsTabAvail)
    {
      tabbedPane.add(getResources().getString("plain-text-exportdialog.advanced-settings"), createAdvancedPane()); //$NON-NLS-1$
    }
    setContentPane(createContentPane(tabbedPane));
    clear();
  }
View Full Code Here

  /**
   * Initializes the Swing components of this dialog.
   */
  private void initialize()
  {
    final JTabbedPane theTabbedPane = new JTabbedPane();
    theTabbedPane.add(getResources().getString("excelexportdialog.export-settings"), createExportPanel());
    theTabbedPane.add(getResources().getString("excelexportdialog.parameters"), getParametersPanel());
    setContentPane(createContentPane(theTabbedPane));
  }
View Full Code Here

    encodingModel.sort();
    cbEncoding = new JComboBox(encodingModel);

    final JPanel exportPane = createExportPane();

    final JTabbedPane tabbedPane = new JTabbedPane();
    tabbedPane.add(getResources().getString("csvexportdialog.export-settings"), exportPane); //$NON-NLS-1$
    tabbedPane.add(getResources().getString("csvexportdialog.parameters"), getParametersPanel());

    // button panel
    final Configuration config = ClassicEngineBoot.getInstance().getGlobalConfig();
    if ("true".equals(config.getConfigProperty(
        "org.pentaho.reporting.engine.classic.core.modules.gui.csv.table.AdvancedSettingsAvailable")))
    {
      final JPanel advancedOptionsPane = createAdvancedOptionsPanel();
      tabbedPane.add(getResources().getString("csvexportdialog.advanced-settings"), advancedOptionsPane); //$NON-NLS-1$

    }
    setContentPane(createContentPane(tabbedPane));

    getFormValidator().registerTextField(txFilename);
View Full Code Here

        "true".equals(config.getConfigProperty(
            "org.pentaho.reporting.engine.classic.core.modules.gui.html.stream.AdvancedSettingsAvailable"));
    final boolean metaDataSettingsTabAvail =
        "true".equals(config.getConfigProperty(
            "org.pentaho.reporting.engine.classic.core.modules.gui.html.stream.MetaDataSettingsAvailable"));
    final JTabbedPane tabbedPane = new JTabbedPane();
    tabbedPane.add(getResources().getString("htmlexportdialog.export-settings"), exportPane); //$NON-NLS-1$
    tabbedPane.add(getResources().getString("htmlexportdialog.parameters"), getParametersPanel()); //$NON-NLS-1$

    if (metaDataSettingsTabAvail)
    {
      tabbedPane.add(getResources().getString("htmlexportdialog.metadata-settings"),
          createMetaDataPanel()); //$NON-NLS-1$
    }
    if (advancedSettingsTabAvail)
    {
      tabbedPane.add(getResources().getString("htmlexportdialog.advanced-settings"),
          createExportOptionsPanel()); //$NON-NLS-1$
    }

    setContentPane(createContentPane(tabbedPane));
  }
View Full Code Here

TOP

Related Classes of javax.swing.JTabbedPane

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.