org.fest.swing.query
Class ComponentLocationOnScreenQuery
java.lang.Object
org.fest.swing.query.ComponentLocationOnScreenQuery
public final class ComponentLocationOnScreenQuery
- extends Object
Understands an action, executed in the event dispatch thread, that returns the location of a
Component on screen.
- Author:
- Yvonne Wang, Alex Ruiz
- See Also:
Component.getLocationOnScreen()
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
locationOnScreen
@RunsInEDT
public static Point locationOnScreen(Component component)
- Returns the location of the given
Component on screen. This action is executed in the event
dispatch thread.
- Parameters:
component - the given Component.
- Returns:
- the location of the given
Component on screen. - See Also:
Component.getLocationOnScreen()
Copyright © 2007-2010 FEST (Fixtures for Easy Software Testing). All Rights Reserved.