Search in sources :

Example 11 with DownArrowIcon

use of org.vcell.util.gui.DownArrowIcon in project vcell by virtualcell.

the class PDEDataViewer method getImagejButton.

private JButton getImagejButton() {
    if (imagejButton == null) {
        try {
            imagejButton = new JButton("ImageJ");
            imagejButton.setHorizontalTextPosition(SwingConstants.LEFT);
            imagejButton.setIcon(new DownArrowIcon());
            imagejButton.addActionListener(ivjEventHandler);
        } catch (java.lang.Throwable ivjExc) {
            handleException(ivjExc);
        }
    }
    return imagejButton;
}
Also used : JButton(javax.swing.JButton) DownArrowIcon(org.vcell.util.gui.DownArrowIcon)

Example 12 with DownArrowIcon

use of org.vcell.util.gui.DownArrowIcon in project vcell by virtualcell.

the class GeometrySummaryViewer method getJButtonReplace.

/**
 * Return the JButton1 property value.
 * @return javax.swing.JButton
 */
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private javax.swing.JButton getJButtonReplace() {
    if (ivjJButtonReplace == null) {
        try {
            ivjJButtonReplace = new javax.swing.JButton();
            ivjJButtonReplace.setName("JButton1");
            ivjJButtonReplace.setText(REPLACE_GEOMETRY_SPATIAL_LABEL);
            ivjJButtonReplace.setIcon(new DownArrowIcon());
            ivjJButtonReplace.setHorizontalTextPosition(SwingConstants.LEFT);
        // user code begin {1}
        // user code end
        } catch (java.lang.Throwable ivjExc) {
            // user code begin {2}
            // user code end
            handleException(ivjExc);
        }
    }
    return ivjJButtonReplace;
}
Also used : JButton(javax.swing.JButton) DownArrowIcon(org.vcell.util.gui.DownArrowIcon)

Example 13 with DownArrowIcon

use of org.vcell.util.gui.DownArrowIcon in project vcell by virtualcell.

the class GeometrySubVolumePanel method getButtonPanel.

/**
 * Return the JPanel1 property value.
 * @return javax.swing.JPanel
 */
private javax.swing.JPanel getButtonPanel() {
    if (buttonPanel == null) {
        try {
            addShapeButton = new JButton("Add Subdomain", new DownArrowIcon());
            addShapeButton.setHorizontalTextPosition(JButton.LEFT);
            getFrontButton().putClientProperty("JButton.buttonType", "roundRect");
            getBackButton().putClientProperty("JButton.buttonType", "roundRect");
            addShapeButton.putClientProperty("JButton.buttonType", "roundRect");
            getDeleteButton().putClientProperty("JButton.buttonType", "roundRect");
            buttonPanel = new javax.swing.JPanel();
            buttonPanel.setName("JPanel1");
            final java.awt.GridBagLayout gridBagLayout = new java.awt.GridBagLayout();
            buttonPanel.setLayout(gridBagLayout);
            GridBagConstraints gbc = new GridBagConstraints();
            gbc.gridx = 0;
            gbc.gridy = 0;
            gbc.fill = GridBagConstraints.HORIZONTAL;
            buttonPanel.add(getFrontButton(), gbc);
            gbc = new GridBagConstraints();
            gbc.gridx = 0;
            gbc.gridy = 1;
            gbc.fill = GridBagConstraints.HORIZONTAL;
            buttonPanel.add(getBackButton(), gbc);
            gbc = new GridBagConstraints();
            gbc.gridx = 0;
            gbc.gridy = 2;
            gbc.fill = GridBagConstraints.HORIZONTAL;
            buttonPanel.add(addShapeButton, gbc);
            gbc = new GridBagConstraints();
            gbc.gridx = 0;
            gbc.gridy = 3;
            gbc.fill = GridBagConstraints.HORIZONTAL;
            buttonPanel.add(getDeleteButton(), gbc);
            addShapeButton.addActionListener(ivjEventHandler);
        } catch (java.lang.Throwable ivjExc) {
            handleException(ivjExc);
        }
    }
    return buttonPanel;
}
Also used : GridBagConstraints(java.awt.GridBagConstraints) JButton(javax.swing.JButton) DownArrowIcon(org.vcell.util.gui.DownArrowIcon) JPanel(javax.swing.JPanel)

Example 14 with DownArrowIcon

use of org.vcell.util.gui.DownArrowIcon in project vcell by virtualcell.

the class GeometryViewer method getJButtonReplace.

private javax.swing.JButton getJButtonReplace() {
    if (ivjJButtonReplace == null) {
        try {
            ivjJButtonReplace = new javax.swing.JButton(REPLACE_GEOMETRY_SPATIAL_LABEL);
            ivjJButtonReplace.setIcon(new DownArrowIcon());
            ivjJButtonReplace.setHorizontalTextPosition(SwingConstants.LEFT);
        } catch (java.lang.Throwable ivjExc) {
            handleException(ivjExc);
        }
    }
    return ivjJButtonReplace;
}
Also used : JButton(javax.swing.JButton) DownArrowIcon(org.vcell.util.gui.DownArrowIcon)

Aggregations

DownArrowIcon (org.vcell.util.gui.DownArrowIcon)14 JButton (javax.swing.JButton)11 GridBagConstraints (java.awt.GridBagConstraints)7 GridBagLayout (java.awt.GridBagLayout)6 Insets (java.awt.Insets)6 JLabel (javax.swing.JLabel)6 BioModelEntityObject (cbit.vcell.model.BioModelEntityObject)3 JPanel (javax.swing.JPanel)3 JTextField (javax.swing.JTextField)3 BioPaxObject (org.vcell.pathway.BioPaxObject)3 RelationshipObject (org.vcell.relationship.RelationshipObject)3 RbmObservable (cbit.vcell.model.RbmObservable)2 ReactionRule (cbit.vcell.model.ReactionRule)2 SpeciesContext (cbit.vcell.model.SpeciesContext)2 BorderLayout (java.awt.BorderLayout)2 ArrayList (java.util.ArrayList)2 JTable (javax.swing.JTable)2 DefaultScrollTableCellRenderer (org.vcell.util.gui.DefaultScrollTableCellRenderer)2 JTabbedPaneEnhanced (org.vcell.util.gui.JTabbedPaneEnhanced)2 ModelProcessEquation (cbit.gui.ModelProcessEquation)1