Class ComponentFixtureExtension<C extends Component,F extends ComponentFixture<C>>

java.lang.Object
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.
  • Constructor Details

    • ComponentFixtureExtension

      public ComponentFixtureExtension()
  • Method Details

    • 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.