Method isEnabled()
Return type: boolean
Member of:
java.awt.Component
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
if (previousButton.isEnabled ()) {
2
if (finishButton.isEnabled ()) {
3
this.setEnabled(menu.isEnabled());
4
this.setEnabled(menuItem.isEnabled());
5
if (src == _rulesList && _removeRuleButton.isEnabled()) doRemoveRule();
6
if (SwingUtilities.isLeftMouseButton(e) && e.getComponent().isEnabled()) {
7
if (cert != null && trustSlider.isEnabled()) {
8
if (stop.isEnabled())
9
if(button.isEnabled()) {
10
if (com instanceof JTextComponent && com.isEnabled()) {
11
if (enterButton.isEnabled()) enterButton.doClick();
12
if (super.isEnabled() != rw)
13
if(c.isEnabled())
14
if(i18nMenu.isEnabled())
15
assertTrue(!combo.isEnabled());
16
if (!getTabs().getComponentAt(now).isEnabled()) {
17
if(docPanel.isEnabled()) transformDocumentation();
18
(this.jTextFieldEDI.isEnabled()?Color.white:Color.lightGray ));
19
boolean oldEnabled = acceptButton.isEnabled();
20
Color background = c.isEnabled() ? MetalLookAndFeel.getControlInfo() : MetalLookAndFeel.getControlShadow();
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.