test.check.command
Class ForegroundColorCommand

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

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

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

Author:
Kirill Grouchnikov

Constructor Summary
ForegroundColorCommand(java.awt.Color color)
          Creates a foreground 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

ForegroundColorCommand

public ForegroundColorCommand(java.awt.Color color)
Creates a foreground color configuration command.

Parameters:
color - Foreground 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.