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