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;
}
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);
}
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;
}
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;
}
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;
}
Aggregations