本文整理了Java中javax.swing.JCheckBox.setName()
方法的一些代码示例,展示了JCheckBox.setName()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JCheckBox.setName()
方法的具体详情如下:
包路径:javax.swing.JCheckBox
类名称:JCheckBox
方法名:setName
暂无
代码示例来源:origin: dboissier/mongo4idea
settingTabbedPane.setName("tabbedSettings");
sslConnectionField.setName("sslConnectionField");
代码示例来源:origin: org.apache.jmeter/ApacheJMeter_components
private JPanel createResetPanel() {
resetInterpreter = new JCheckBox(JMeterUtils.getResString("bsh_script_reset_interpreter")); // $NON-NLS-1$
resetInterpreter.setName(BeanShellAssertion.PARAMETERS);
JPanel resetInterpreterPanel = new JPanel(new BorderLayout());
resetInterpreterPanel.add(resetInterpreter, BorderLayout.WEST);
return resetInterpreterPanel;
}
代码示例来源:origin: org.apache.jmeter/ApacheJMeter_java
private JPanel createResetPanel() {
resetInterpreter = new JCheckBox(JMeterUtils.getResString("bsh_script_reset_interpreter")); // $NON-NLS-1$
resetInterpreter.setName(BeanShellSampler.PARAMETERS);
JPanel resetInterpreterPanel = new JPanel(new BorderLayout());
resetInterpreterPanel.add(resetInterpreter, BorderLayout.WEST);
return resetInterpreterPanel;
}
代码示例来源:origin: fr.ifremer/isis-fish
protected void createFieldCellLand() {
$objectMap.put("fieldCellLand", fieldCellLand = new JCheckBox());
fieldCellLand.setName("fieldCellLand");
fieldCellLand.addActionListener(JAXXUtil.getEventListener(ActionListener.class, "actionPerformed", this, "doActionPerformed__on__fieldCellLand"));
}
代码示例来源:origin: fr.ifremer/isis-fish
protected void createSendAll() {
$objectMap.put("sendAll", sendAll = new JCheckBox());
sendAll.setName("sendAll");
sendAll.setSelected(true);
sendAll.setText(t("isisfish.log.sendAll"));
sendAll.setToolTipText(t("isisfish.log.tooltip.sendAll"));
}
代码示例来源:origin: fr.ifremer/isis-fish
protected void createFieldSimulUseSimulationPlan() {
$objectMap.put("fieldSimulUseSimulationPlan", fieldSimulUseSimulationPlan = new JCheckBox());
fieldSimulUseSimulationPlan.setName("fieldSimulUseSimulationPlan");
fieldSimulUseSimulationPlan.setText(t("isisfish.params.useSimulationPlan"));
fieldSimulUseSimulationPlan.addItemListener(JAXXUtil.getEventListener(ItemListener.class, "itemStateChanged", this, "doItemStateChanged__on__fieldSimulUseSimulationPlan"));
}
代码示例来源:origin: fr.ifremer/isis-fish
protected void createLevelError() {
$objectMap.put("levelError", levelError = new JCheckBox());
levelError.setName("levelError");
levelError.setText(t("isisfish.filter.log.levelError"));
levelError.setToolTipText(t("isisfish.filter.log.tooltip.levelError"));
}
代码示例来源:origin: fr.ifremer/isis-fish
protected void createFieldSimulUseOptimization() {
$objectMap.put("fieldSimulUseOptimization", fieldSimulUseOptimization = new JCheckBox());
fieldSimulUseOptimization.setName("fieldSimulUseOptimization");
fieldSimulUseOptimization.setText(t("isisfish.params.useOptimization"));
fieldSimulUseOptimization.addItemListener(JAXXUtil.getEventListener(ItemListener.class, "itemStateChanged", this, "doItemStateChanged__on__fieldSimulUseOptimization"));
}
代码示例来源:origin: fr.ifremer/isis-fish
protected void createFieldPopulationSeasonReproduction() {
$objectMap.put("fieldPopulationSeasonReproduction", fieldPopulationSeasonReproduction = new JCheckBox());
fieldPopulationSeasonReproduction.setName("fieldPopulationSeasonReproduction");
fieldPopulationSeasonReproduction.setText(t("isisfish.populationSeasons.Reproduction"));
fieldPopulationSeasonReproduction.addActionListener(JAXXUtil.getEventListener(ActionListener.class, "actionPerformed", this, "doActionPerformed__on__fieldPopulationSeasonReproduction"));
}
代码示例来源:origin: fr.ifremer/isis-fish
protected void createLevelInfo() {
$objectMap.put("levelInfo", levelInfo = new JCheckBox());
levelInfo.setName("levelInfo");
levelInfo.setText(t("isisfish.filter.log.levelInfo"));
levelInfo.setToolTipText(t("isisfish.filter.log.tooltip.levelInfo"));
}
代码示例来源:origin: fr.ifremer/isis-fish
protected void createLevelWarn() {
$objectMap.put("levelWarn", levelWarn = new JCheckBox());
levelWarn.setName("levelWarn");
levelWarn.setText(t("isisfish.filter.log.levelWarn"));
levelWarn.setToolTipText(t("isisfish.filter.log.tooltip.levelWarn"));
}
代码示例来源:origin: org.nuiton.jrst/jrst
protected void createSimpleModeChechBox() {
$objectMap.put("simpleModeChechBox", simpleModeChechBox = new JCheckBox());
simpleModeChechBox.setName("simpleModeChechBox");
simpleModeChechBox.setText(t("Simple mode"));
simpleModeChechBox.addActionListener(JAXXUtil.getEventListener(ActionListener.class, "actionPerformed", this, "doActionPerformed__on__simpleModeChechBox"));
}
代码示例来源:origin: fr.ifremer/isis-fish
protected void createFieldSimulationStatistique() {
$objectMap.put("fieldSimulationStatistique", fieldSimulationStatistique = new JCheckBox());
fieldSimulationStatistique.setName("fieldSimulationStatistique");
fieldSimulationStatistique.setText(t("isisfish.advancedParams.simulationStatistique"));
fieldSimulationStatistique.addActionListener(JAXXUtil.getEventListener(ActionListener.class, "actionPerformed", this, "doActionPerformed__on__fieldSimulationStatistique"));
}
代码示例来源:origin: fr.ifremer/isis-fish
protected void createLevelFatal() {
$objectMap.put("levelFatal", levelFatal = new JCheckBox());
levelFatal.setName("levelFatal");
levelFatal.setText(t("isisfish.filter.log.levelFatal"));
levelFatal.setToolTipText(t("isisfish.filter.log.tooltip.levelFatal"));
}
代码示例来源:origin: fr.ifremer/isis-fish
protected void createCheckAllCheckbox() {
$objectMap.put("checkAllCheckbox", checkAllCheckbox = new JCheckBox());
checkAllCheckbox.setName("checkAllCheckbox");
checkAllCheckbox.setSelected(true);
checkAllCheckbox.setText(t("isisfish.script.import.checkAll"));
checkAllCheckbox.setToolTipText(t("isisfish.script.import.tooltip.checkAll"));
checkAllCheckbox.addActionListener(JAXXUtil.getEventListener(ActionListener.class, "actionPerformed", this, "doActionPerformed__on__checkAllCheckbox"));
}
代码示例来源:origin: fr.ifremer/isis-fish
protected void createLocal() {
$objectMap.put("local", local = new JCheckBox());
local.setName("local");
local.setText(t("isisfish.filter.simulation.local"));
local.setToolTipText(t("isisfish.filter.simulation.tooltip.local"));
local.addActionListener(JAXXUtil.getEventListener(ActionListener.class, "actionPerformed", this, "doActionPerformed__on__local"));
}
代码示例来源:origin: fr.ifremer/isis-fish
protected void createUseOptimization() {
$objectMap.put("useOptimization", useOptimization = new JCheckBox());
useOptimization.setName("useOptimization");
useOptimization.setText(t("isisfish.filter.simulation.useOptimization"));
useOptimization.setToolTipText(t("isisfish.filter.simulation.tooltip.useOptimization"));
useOptimization.addActionListener(JAXXUtil.getEventListener(ActionListener.class, "actionPerformed", this, "doActionPerformed__on__useOptimization"));
}
代码示例来源:origin: fr.ifremer/isis-fish
protected void createFieldPopulationSeasonGroupChange() {
$objectMap.put("fieldPopulationSeasonGroupChange", fieldPopulationSeasonGroupChange = new JCheckBox());
fieldPopulationSeasonGroupChange.setName("fieldPopulationSeasonGroupChange");
fieldPopulationSeasonGroupChange.setText(t("isisfish.populationSeasons.changeGroup"));
fieldPopulationSeasonGroupChange.addActionListener(JAXXUtil.getEventListener(ActionListener.class, "actionPerformed", this, "doActionPerformed__on__fieldPopulationSeasonGroupChange"));
fieldPopulationSeasonGroupChange.putClientProperty("sensitivityBean", PopulationSeasonInfo.class);
fieldPopulationSeasonGroupChange.putClientProperty("sensitivityMethod", "GroupChange");
}
代码示例来源:origin: fr.ifremer/isis-fish
protected void createFieldPopulationBasicsPlusGroup() {
$objectMap.put("fieldPopulationBasicsPlusGroup", fieldPopulationBasicsPlusGroup = new JCheckBox());
fieldPopulationBasicsPlusGroup.setName("fieldPopulationBasicsPlusGroup");
fieldPopulationBasicsPlusGroup.setText(t("isisfish.populationBasics.plusGroup"));
fieldPopulationBasicsPlusGroup.setToolTipText(t("isisfish.populationBasics.plusGroupTip"));
fieldPopulationBasicsPlusGroup.addActionListener(JAXXUtil.getEventListener(ActionListener.class, "actionPerformed", this, "doActionPerformed__on__fieldPopulationBasicsPlusGroup"));
fieldPopulationBasicsPlusGroup.putClientProperty("sensitivityBean", Population.class);
fieldPopulationBasicsPlusGroup.putClientProperty("sensitivityMethod", "PlusGroup");
}
代码示例来源:origin: net.java.dev.designgridlayout/designgridlayout
private void addGroup(DesignGridLayout layout, String name, List<IHideable> groupRows)
{
JCheckBox group = new JCheckBox(name);
group.setName(name);
group.setForeground(Color.BLUE);
group.setSelected(true);
group.addItemListener(new ShowHideAction(groupRows));
layout.emptyRow();
layout.row().left().add(group, new JSeparator()).fill();
}
内容来源于网络,如有侵权,请联系作者删除!