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