Search in sources :

Example 51 with JTabbedPane

use of javax.swing.JTabbedPane in project processdash by dtuma.

the class AbstractCustomProcessEditor method buildTabPanel.

private Component buildTabPanel() {
    JTabbedPane tabPane = new JTabbedPane();
    tabPane.addTab("Size Metrics", buildSizeTable());
    tabPane.addTab("Process Phases", buildPhaseTable());
    return tabPane;
}
Also used : JTabbedPane(javax.swing.JTabbedPane)

Example 52 with JTabbedPane

use of javax.swing.JTabbedPane in project knime-core by knime.

the class DefaultVisualizationNodeView method addVisualization.

/**
 * Adds another tab with title <code>title</code> containing a plotter.
 * @param plotter another visualization
 * @param title the title of the tab (if null a standard name is provided)
 */
public void addVisualization(final AbstractPlotter plotter, final String title) {
    m_plotterCounter++;
    String name = title;
    if (name == null) {
        name = "Visualization#" + m_plotterCounter;
    }
    // check if there is already a tab
    if (m_tabs == null) {
        m_tabs = new JTabbedPane();
        AbstractPlotter oldPlotter = m_plotters.get(1);
        m_tabs.addTab("Visualization#1", oldPlotter);
        m_tabs.addTab(name, plotter);
        setComponent(m_tabs);
    } else {
        m_tabs.addTab(name, plotter);
    }
    m_plotters.add(plotter);
}
Also used : JTabbedPane(javax.swing.JTabbedPane) AbstractPlotter(org.knime.base.node.viz.plotter.AbstractPlotter)

Example 53 with JTabbedPane

use of javax.swing.JTabbedPane in project knime-core by knime.

the class FileReaderAdvancedDialog method getJTabbedPane.

/**
 * This method initializes jTabbedPane.
 *
 * @return javax.swing.JTabbedPane
 */
private JTabbedPane getJTabbedPane() {
    if (m_jTabbedPane == null) {
        m_jTabbedPane = new JTabbedPane();
        m_jTabbedPane.addTab("Quote support", null, getQuotePanel(), "Adjust settings for quote characters here");
        m_jTabbedPane.addTab("Decimal Separator", null, getDecSepPanel(), "Set the decimal separator here");
        m_jTabbedPane.addTab("Ignore spaces", null, getIngoreWSatEORPanel(), "Ignore extra whitespaces at end of rows.");
        m_jTabbedPane.addTab("Short Lines", null, getShortLinesPanel(), "Add support for incomplete rows");
        m_jTabbedPane.addTab("unique RowIDs", null, getUniquifyPanel(), "Disable unique making of row IDs");
        m_jTabbedPane.addTab("Limit Rows", null, getLimitRowsPanel(), "Specify the max. number of rows read");
        m_jTabbedPane.addTab("Character decoding", null, getCharsetNamePanel(), "");
        m_jTabbedPane.addTab("Missing Value Pattern", null, getMissValPanel(), "Specify a missing value pattern for string columns");
    }
    return m_jTabbedPane;
}
Also used : JTabbedPane(javax.swing.JTabbedPane)

Example 54 with JTabbedPane

use of javax.swing.JTabbedPane in project knime-core by knime.

the class CorrelationOperator method getSettingsPanel.

/**
 * {@inheritDoc}
 */
@Override
public JComponent getSettingsPanel() {
    if (m_rootPanel == null) {
        JComponent columnPanel = super.getSettingsPanel();
        m_rootPanel = new JTabbedPane();
        m_rootPanel.addTab("Column selection", columnPanel);
        m_rootPanel.addTab("Correlation method", getDialogComponent().getComponentPanel());
    }
    return m_rootPanel;
}
Also used : JTabbedPane(javax.swing.JTabbedPane) JComponent(javax.swing.JComponent)

Example 55 with JTabbedPane

use of javax.swing.JTabbedPane in project vcell by virtualcell.

the class PDEDataViewer method getViewData.

/**
 * Return the ViewData property value.
 * @return javax.swing.JPanel
 */
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private javax.swing.JPanel getViewData() {
    if (ivjViewData == null) {
        try {
            sliceViewPanel = new JPanel(new BorderLayout());
            sliceViewPanel.add(getPDEDataContextPanel1(), BorderLayout.CENTER);
            sliceViewPanel.add(getJPanelButtonsAndLabels(), BorderLayout.SOUTH);
            ivjViewData = new javax.swing.JPanel();
            ivjViewData.setName("ViewData");
            ivjViewData.setLayout(new java.awt.BorderLayout());
            viewDataTabbedPane = new JTabbedPane();
            viewDataTabbedPane.addTab(CurrentView.SLICE_VIEW.title, sliceViewPanel);
            viewDataTabbedPane.addChangeListener(ivjEventHandler);
            ivjViewData.add(viewDataTabbedPane, BorderLayout.CENTER);
            ivjViewData.add(getPDEPlotControlPanel1(), BorderLayout.WEST);
        } catch (java.lang.Throwable ivjExc) {
            handleException(ivjExc);
        }
    }
    return ivjViewData;
}
Also used : JPanel(javax.swing.JPanel) BorderLayout(java.awt.BorderLayout) JTabbedPane(javax.swing.JTabbedPane) BorderLayout(java.awt.BorderLayout) JPanel(javax.swing.JPanel)

Aggregations

JTabbedPane (javax.swing.JTabbedPane)104 JPanel (javax.swing.JPanel)51 BorderLayout (java.awt.BorderLayout)33 JLabel (javax.swing.JLabel)26 JButton (javax.swing.JButton)25 JScrollPane (javax.swing.JScrollPane)23 Dimension (java.awt.Dimension)19 ActionEvent (java.awt.event.ActionEvent)18 ActionListener (java.awt.event.ActionListener)15 JCheckBox (javax.swing.JCheckBox)14 ChangeListener (javax.swing.event.ChangeListener)13 GridBagLayout (java.awt.GridBagLayout)12 BoxLayout (javax.swing.BoxLayout)12 ChangeEvent (javax.swing.event.ChangeEvent)12 GridBagConstraints (java.awt.GridBagConstraints)11 Insets (java.awt.Insets)11 ArrayList (java.util.ArrayList)10 JFrame (javax.swing.JFrame)10 JMenuItem (javax.swing.JMenuItem)10 JSplitPane (javax.swing.JSplitPane)10