test.check.command
Class BackgroundColorCommand

java.lang.Object
  extended by test.check.command.BackgroundColorCommand
All Implemented Interfaces:
ConfigurationCommand<java.awt.Component>

public class BackgroundColorCommand
extends java.lang.Object
implements ConfigurationCommand<java.awt.Component>

A configure command that sets the specified background color on the specified component.

Author:
Kirill Grouchnikov

Constructor Summary
BackgroundColorCommand(java.awt.Color color)
          Creates a background color configuration command.
 
Method Summary
 void configure(java.awt.Component ab)
          Configures the specified control.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BackgroundColorCommand

public BackgroundColorCommand(java.awt.Color color)
Creates a background color configuration command.

Parameters:
color - Background color to set.
Method Detail

configure

public void configure(java.awt.Component ab)
Description copied from interface: ConfigurationCommand
Configures the specified control.

Specified by:
configure in interface ConfigurationCommand<java.awt.Component>
Parameters:
ab - Control to configure.