org.fest.swing.query
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
.
- Author:
- Alex Ruiz, Yvonne Wang
- See Also:
Component.getForeground()
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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:
Component.getForeground()
Copyright © 2007-2011 FEST (Fixtures for Easy Software Testing). All Rights Reserved.