Class ComponentBackgroundQuery

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

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

    • ComponentBackgroundQuery

      private ComponentBackgroundQuery()
  • Method Details

    • backgroundOf

      @RunsInEDT public static Color backgroundOf(Component component)
      Returns the background color of the given Component. This action is executed in the event dispatch thread.
      Parameters:
      component - the given Component.
      Returns:
      the background color of the given Component.
      See Also: