Class ComponentSizeQuery

java.lang.Object
org.fest.swing.query.ComponentSizeQuery

public final class ComponentSizeQuery extends Object
Understands an action, executed in the event dispatch thread, that returns the size of a Component.
See Also:
  • Constructor Details

    • ComponentSizeQuery

      private ComponentSizeQuery()
  • Method Details

    • sizeOf

      @RunsInEDT public static Dimension sizeOf(Component component)
      Returns the size of the given Component. This action is executed in the event dispatch thread.
      Parameters:
      component - the given Component.
      Returns:
      the size of the given Component.
      See Also: