use of org.vcell.util.gui.TitledBorderBean in project vcell by virtualcell.
the class RXParticipantResolverPanel method getReactionCanvas1.
/**
* Return the ReactionCanvas1 property value.
* @return cbit.vcell.model.gui.ReactionCanvas
*/
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private ReactionCanvas getReactionCanvas1() {
if (ivjReactionCanvas1 == null) {
try {
LineBorderBean ivjLocalBorder12 = new LineBorderBean();
TitledBorderBean ivjLocalBorder11 = new TitledBorderBean();
ivjLocalBorder11.setTitleFont(getFont().deriveFont(Font.BOLD));
ivjLocalBorder11.setBorder(ivjLocalBorder12);
ivjLocalBorder11.setTitle("Reaction Stoichiometry");
ivjReactionCanvas1 = new ReactionCanvas() {
@Override
public Dimension getPreferredSize() {
// TODO Auto-generated method stub
return new Dimension(100, 100);
}
};
ivjReactionCanvas1.setName("ReactionCanvas1");
ivjReactionCanvas1.setBorder(ivjLocalBorder11);
ivjReactionCanvas1.setLocation(0, 0);
// user code begin {1}
// user code end
} catch (java.lang.Throwable ivjExc) {
// user code begin {2}
// user code end
handleException(ivjExc);
}
}
return ivjReactionCanvas1;
}
use of org.vcell.util.gui.TitledBorderBean in project vcell by virtualcell.
the class RXParticipantResolverPanel method initialize.
private void initialize() {
try {
LineBorderBean ivjLocalBorder10 = new LineBorderBean();
TitledBorderBean ivjLocalBorder9 = new TitledBorderBean();
ivjLocalBorder9.setTitleFont(getFont().deriveFont(Font.BOLD));
ivjLocalBorder9.setBorder(ivjLocalBorder10);
ivjLocalBorder9.setTitle("Resolve Reaction Participants with Model");
// ivjResolverJPanel = new javax.swing.JPanel();
setName("RXParticipantResolverPanel");
setBorder(ivjLocalBorder9);
setLayout(new java.awt.GridBagLayout());
java.awt.GridBagConstraints constraintsResolveHighlightJLabel = new java.awt.GridBagConstraints();
constraintsResolveHighlightJLabel.gridx = 0;
constraintsResolveHighlightJLabel.gridy = 2;
constraintsResolveHighlightJLabel.gridwidth = 2;
constraintsResolveHighlightJLabel.insets = new java.awt.Insets(4, 4, 4, 4);
add(getResolveHighlightJLabel(), constraintsResolveHighlightJLabel);
java.awt.GridBagConstraints constraintsJScrollPane1 = new java.awt.GridBagConstraints();
constraintsJScrollPane1.gridx = 0;
constraintsJScrollPane1.gridy = 0;
constraintsJScrollPane1.gridwidth = 2;
constraintsJScrollPane1.fill = java.awt.GridBagConstraints.BOTH;
constraintsJScrollPane1.weightx = 1.0;
constraintsJScrollPane1.weighty = 1.0;
constraintsJScrollPane1.insets = new java.awt.Insets(4, 4, 4, 4);
add(getJScrollPane1(), constraintsJScrollPane1);
java.awt.GridBagConstraints constraintsJScrollPane2 = new java.awt.GridBagConstraints();
constraintsJScrollPane2.gridx = 0;
constraintsJScrollPane2.gridy = 1;
constraintsJScrollPane2.gridwidth = 2;
constraintsJScrollPane2.fill = java.awt.GridBagConstraints.BOTH;
constraintsJScrollPane2.weightx = 1.0;
constraintsJScrollPane2.weighty = 1.0;
constraintsJScrollPane2.insets = new java.awt.Insets(4, 4, 4, 4);
add(getJScrollPane2(), constraintsJScrollPane2);
// user code begin {1}
// user code end
} catch (java.lang.Throwable ivjExc) {
// user code begin {2}
// user code end
handleException(ivjExc);
}
}
use of org.vcell.util.gui.TitledBorderBean in project vcell by virtualcell.
the class DBReactionWizardPanel method getParameterJPanel.
/**
* Return the ParameterJPanel property value.
* @return javax.swing.JPanel
*/
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private javax.swing.JPanel getParameterJPanel() {
if (ivjParameterJPanel == null) {
try {
LineBorderBean ivjLocalBorder8 = new LineBorderBean();
TitledBorderBean ivjLocalBorder7 = new TitledBorderBean();
ivjLocalBorder7.setTitleFont(getFont().deriveFont(Font.BOLD));
ivjLocalBorder7.setBorder(ivjLocalBorder8);
ivjLocalBorder7.setTitleColor(java.awt.Color.black);
ivjLocalBorder7.setTitle("2. Choose a Version of the Selected Reaction");
ivjParameterJPanel = new javax.swing.JPanel();
ivjParameterJPanel.setName("ParameterJPanel");
ivjParameterJPanel.setBorder(ivjLocalBorder7);
ivjParameterJPanel.setLayout(new java.awt.GridBagLayout());
java.awt.GridBagConstraints constraintsParameterNamesJScrollPane = new java.awt.GridBagConstraints();
constraintsParameterNamesJScrollPane.gridx = 0;
constraintsParameterNamesJScrollPane.gridy = 1;
constraintsParameterNamesJScrollPane.fill = java.awt.GridBagConstraints.BOTH;
constraintsParameterNamesJScrollPane.weightx = 1.0;
constraintsParameterNamesJScrollPane.weighty = 1.0;
constraintsParameterNamesJScrollPane.insets = new java.awt.Insets(4, 4, 4, 4);
getParameterJPanel().add(getParameterNamesJScrollPane(), constraintsParameterNamesJScrollPane);
java.awt.GridBagConstraints constraintsParameterValuesJScrollPane = new java.awt.GridBagConstraints();
constraintsParameterValuesJScrollPane.gridx = 1;
constraintsParameterValuesJScrollPane.gridy = 1;
constraintsParameterValuesJScrollPane.fill = java.awt.GridBagConstraints.BOTH;
constraintsParameterValuesJScrollPane.weightx = 1.0;
constraintsParameterValuesJScrollPane.weighty = 1.0;
constraintsParameterValuesJScrollPane.insets = new java.awt.Insets(4, 4, 4, 4);
getParameterJPanel().add(getParameterValuesJScrollPane(), constraintsParameterValuesJScrollPane);
java.awt.GridBagConstraints constraintsJLabel1 = new java.awt.GridBagConstraints();
constraintsJLabel1.gridx = 1;
constraintsJLabel1.gridy = 0;
constraintsJLabel1.weightx = 1.0;
constraintsJLabel1.insets = new java.awt.Insets(4, 4, 4, 4);
getParameterJPanel().add(getJLabel1(), constraintsJLabel1);
java.awt.GridBagConstraints constraintsJLabel2 = new java.awt.GridBagConstraints();
constraintsJLabel2.gridx = 0;
constraintsJLabel2.gridy = 0;
constraintsJLabel2.insets = new java.awt.Insets(4, 4, 4, 4);
getParameterJPanel().add(getJLabel2(), constraintsJLabel2);
// user code begin {1}
// user code end
} catch (java.lang.Throwable ivjExc) {
// user code begin {2}
// user code end
handleException(ivjExc);
}
}
return ivjParameterJPanel;
}
use of org.vcell.util.gui.TitledBorderBean in project vcell by virtualcell.
the class SpeciesQueryPanel method getJPanel2.
/**
* Return the JPanel2 property value.
* @return javax.swing.JPanel
*/
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private javax.swing.JPanel getJPanel2() {
if (ivjJPanel2 == null) {
try {
TitledBorderBean ivjLocalBorder1 = new TitledBorderBean();
ivjLocalBorder1.setTitle("Restrict Search for Formal Species To");
ivjJPanel2 = new javax.swing.JPanel();
ivjJPanel2.setName("JPanel2");
ivjJPanel2.setBorder(ivjLocalBorder1);
ivjJPanel2.setLayout(new java.awt.GridBagLayout());
java.awt.GridBagConstraints constraintsMyModelJRadioButton = new java.awt.GridBagConstraints();
constraintsMyModelJRadioButton.gridx = 0;
constraintsMyModelJRadioButton.gridy = 0;
constraintsMyModelJRadioButton.insets = new java.awt.Insets(4, 4, 4, 4);
getJPanel2().add(getMyModelJRadioButton(), constraintsMyModelJRadioButton);
java.awt.GridBagConstraints constraintsAllModelsJRadioButton = new java.awt.GridBagConstraints();
constraintsAllModelsJRadioButton.gridx = 1;
constraintsAllModelsJRadioButton.gridy = 0;
constraintsAllModelsJRadioButton.insets = new java.awt.Insets(4, 4, 4, 4);
getJPanel2().add(getAllModelsJRadioButton(), constraintsAllModelsJRadioButton);
java.awt.GridBagConstraints constraintsDictionaryJRadioButton = new java.awt.GridBagConstraints();
constraintsDictionaryJRadioButton.gridx = 2;
constraintsDictionaryJRadioButton.gridy = 0;
constraintsDictionaryJRadioButton.insets = new java.awt.Insets(4, 4, 4, 4);
getJPanel2().add(getDictionaryJRadioButton(), constraintsDictionaryJRadioButton);
// user code begin {1}
// user code end
} catch (java.lang.Throwable ivjExc) {
// user code begin {2}
// user code end
handleException(ivjExc);
}
}
return ivjJPanel2;
}
Aggregations