public final class ComponentLocationOnScreenQuery extends Object
Component on screen. This query is executed in the event dispatch
thread (EDT.)Component.getLocationOnScreen()| Modifier and Type | Method and Description |
|---|---|
static Point |
locationOnScreen(Component component)
Returns the location of the given AWT or Swing
Component on screen. |
@RunsInEDT @Nonnull public static Point locationOnScreen(@Nonnull Component component)
Component on screen. This query is executed in the event
dispatch thread (EDT.)component - the given Component.Component on screen.Component.getLocationOnScreen()Copyright © 2014 AssertJ. All rights reserved.