public final class ComponentParentQuery extends Object
Component. This query is executed in the event dispatch thread (EDT).Component.getParent()| Modifier and Type | Method and Description |
|---|---|
static Container |
parentOf(Component component)
Returns the parent of the given AWT or Swing
Component. |
@RunsInEDT @Nullable public static Container parentOf(@Nonnull Component component)
Component. This query is executed in the event dispatch thread
(EDT).component - the given Component.Component.Component.getParent()Copyright © 2014–2019 AssertJ. All rights reserved.