use of cbit.plot.gui.PlotPane in project vcell by virtualcell.
the class BNGDataPlotPanel method getplotPane.
/**
* Return the plotPane property value.
* @return cbit.plot.PlotPane
*/
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private cbit.plot.gui.PlotPane getplotPane() {
if (ivjplotPane == null) {
try {
ivjplotPane = new cbit.plot.gui.PlotPane();
ivjplotPane.setName("plotPane");
ivjplotPane.setPreferredSize(new java.awt.Dimension(700, 700));
// user code begin {1}
// user code end
} catch (java.lang.Throwable ivjExc) {
// user code begin {2}
// user code end
handleException(ivjExc);
}
}
return ivjplotPane;
}
use of cbit.plot.gui.PlotPane in project vcell by virtualcell.
the class DataProcessingResultsPanel method initialize.
private void initialize() {
GridBagLayout gridBagLayout = new GridBagLayout();
gridBagLayout.rowWeights = new double[] { 0.0 };
gridBagLayout.columnWeights = new double[] { 0, 0 };
setLayout(gridBagLayout);
varJList = new JList();
varJList.setVisibleRowCount(5);
varJList.addListSelectionListener(new ListSelectionListener() {
public void valueChanged(ListSelectionEvent e) {
if (e.getValueIsAdjusting()) {
return;
}
if (varJList.getSelectedIndex() != -1) {
((CardLayout) cardLayoutPanel.getLayout()).show(cardLayoutPanel, "plotPane1");
}
onVariablesChange();
}
});
GridBagConstraints gbc_graphScrollPane = new GridBagConstraints();
gbc_graphScrollPane.weighty = 0.3;
gbc_graphScrollPane.gridx = 0;
gbc_graphScrollPane.gridy = 0;
gbc_graphScrollPane.insets = new Insets(4, 4, 4, 4);
gbc_graphScrollPane.fill = GridBagConstraints.BOTH;
graphScrollPane = new JScrollPane(varJList, JScrollPane.VERTICAL_SCROLLBAR_ALWAYS, JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS);
graphScrollPane.setMinimumSize(new Dimension(150, 150));
add(graphScrollPane, gbc_graphScrollPane);
cardLayoutPanel = new JPanel();
GridBagConstraints gbc_cardLayoutPanel = new GridBagConstraints();
gbc_cardLayoutPanel.weightx = 1.0;
gbc_cardLayoutPanel.weighty = 1.0;
gbc_cardLayoutPanel.insets = new Insets(4, 4, 4, 4);
gbc_cardLayoutPanel.fill = GridBagConstraints.BOTH;
gbc_cardLayoutPanel.gridx = 1;
gbc_cardLayoutPanel.gridy = 0;
add(cardLayoutPanel, gbc_cardLayoutPanel);
cardLayoutPanel.setLayout(new CardLayout(0, 0));
plotPane = new PlotPane();
cardLayoutPanel.add(plotPane, "plotPane1");
}
Aggregations