public final class ComponentEnabledQuery extends Object
Component
is enabled or not. This query is executed in the event dispatch
thread (EDT).Component.isEnabled()
Modifier and Type | Method and Description |
---|---|
static boolean |
isEnabled(Component component)
Indicates whether the given AWT or Swing
Component is enabled or not. |
public static boolean isEnabled(@Nonnull Component component)
Component
is enabled or not. This query is executed in the event
dispatch thread (EDT).component
- the given Component
.true
if the given Component
is enabled, false
otherwise.Component.isEnabled()
Copyright © 2014–2017 AssertJ. All rights reserved.