Class ComponentParentQuery

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

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

    • ComponentParentQuery

      private ComponentParentQuery()
  • Method Details

    • parentOf

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