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