Package org.fest.swing.query
Class ComponentForegroundQuery
java.lang.Object
org.fest.swing.query.ComponentForegroundQuery
Understands an action, executed in the event dispatch thread, that returns the foreground color of a
Component.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ColorforegroundOf(Component component) Returns the foreground color of the given.Component
-
Constructor Details
-
ComponentForegroundQuery
private ComponentForegroundQuery()
-
-
Method Details
-
foregroundOf
Returns the foreground color of the given. This action is executed in the event dispatch thread.Component- Parameters:
component- the givenComponent.- Returns:
- the foreground color of the given
Component. - See Also:
-