Method isSelected()
Return type: boolean
Member of: javax.swing.AbstractButton
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 return isSelected() ? Boolean.TRUE : Boolean.FALSE;
2 if ( isSelected() ) {
3 textArea.html2txt(htmlOpt.isSelected());
4 settings.setNegativeResults( negativCheckBox.isSelected() );
5 return new Boolean(this.checkbox.isSelected());
6 prefs.highlightMyHex = highlightMyHexCheckBox.isSelected();
7 prefs.antiAliasText = antiAliasTextCheckBox.isSelected();
8 fontColor.setEnabled( !isRandomColor.isSelected() );
9 clipboardText.setWrapStyleWord(softwrapCheck.isSelected());
10 "" + cbSkipIntro.isSelected() );
11 m_textField.setEnabled(b && m_includeButton.isSelected());
12 sliderProxy.enableSlider(isSelected());
13 if (isSelected()) _box.setSelectedIndex(1);
14 this.aCatalog.setEnabled(cbEnabled.isSelected());
15 props.setHidePassword(checkBoxStampaPwd.isSelected());
16 this.diagramView.setDisplayType(this.showExactMenuItem.isSelected());
17 if (!cb_intro.isSelected())
18 _oldValue = isSelected();
19 tick, type, chkLast.isSelected());
20 dv.schreibeFilternFlag(filterOnOffCheckBox.isSelected());
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.