本文整理了Java中javax.swing.JCheckBox.getSelectedObjects()
方法的一些代码示例,展示了JCheckBox.getSelectedObjects()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JCheckBox.getSelectedObjects()
方法的具体详情如下:
包路径:javax.swing.JCheckBox
类名称:JCheckBox
方法名:getSelectedObjects
暂无
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-visualweb-webui-designtime
/**
* Returns true if the user has chosen to be able to select multiple items.
* This value should correspond to the component's <code>multiple</code>
* property (or equivalent). If the component has no <code>multiple</code>
* property, this options list should have been constructed with
* <code>acceptsMultipleChoice</code> set to <code>false</code>, in which
* case, this method will always return false.
*/
public boolean isMultipleChoice() {
return this.multipleChoiceCheckBox.getSelectedObjects() == null ? false : true;
}
代码示例来源:origin: org.opencadc/cadc-download-manager
public void stateChanged(ChangeEvent e) {
if (e.getSource() != null && e.getSource() == retryControl) {
boolean enabled = (retryControl.getSelectedObjects() != null);
log.debug("stateChanged: retry -> " + enabled);
this.downloadManager.setRetryEnabled(enabled);
}
}
内容来源于网络,如有侵权,请联系作者删除!