Class ComponentForegroundQuery

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

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

    • ComponentForegroundQuery

      private ComponentForegroundQuery()
  • Method Details

    • foregroundOf

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