test.check.command
Class SetBoundsCommand

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

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

A configure command that sets bounds for the specified component.

Author:
Kirill Grouchnikov

Constructor Summary
SetBoundsCommand(java.awt.Rectangle bounds)
          Creates a new configuration command.
 
Method Summary
 void configure(java.awt.Component comp)
          Configures the specified control.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetBoundsCommand

public SetBoundsCommand(java.awt.Rectangle bounds)
Creates a new configuration command.

Parameters:
bounds - Component bounds to set.
Method Detail

configure

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

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