org.fest.swing.fixture
Class ComponentFixtureExtension<C extends Component,F extends ComponentFixture<C>>

java.lang.Object
  extended by org.fest.swing.fixture.ComponentFixtureExtension<C,F>
Type Parameters:
C - the type of Component the ComponentFixture to create can handle.
F - the type of ComponentFixture this extension can create.

public abstract class ComponentFixtureExtension<C extends Component,F extends ComponentFixture<C>>
extends Object

Understands an "extension method" for implementations of ContainerFixture. This extension creates new ComponentFixtures managing components inside a ContainerFixture's Container.

Author:
Alex Ruiz

Constructor Summary
ComponentFixtureExtension()
           
 
Method Summary
abstract  F createFixture(Robot robot, Container root)
          Creates a new ComponentFixture.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentFixtureExtension

public ComponentFixtureExtension()
Method Detail

createFixture

public abstract F createFixture(Robot robot,
                                Container root)
Creates a new ComponentFixture.

Parameters:
robot - the Robot to pass to the new fixture.
root - the container where the component to handle by the created fixture is contained.
Returns:
the created ComponentFixture.


Copyright © 2007-2011 FEST (Fixtures for Easy Software Testing). All Rights Reserved.