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.
See Also:
  • Constructor Details

    • ComponentLocationOnScreenQuery

      private ComponentLocationOnScreenQuery()
  • Method Details

    • 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: