@RunsInEDT @Override @Nonnull public JTextComponentFixture textBox(@Nonnull GenericTypeMatcher<? extends JTextComponent> matcher) { return new JTextComponentFixture(robot(), find(matcher)); }
@RunsInEDT @Override @Nonnull public JTextComponentFixture textBox(@Nullable String name) { return new JTextComponentFixture(robot(), findByName(name, JTextComponent.class)); }
@RunsInEDT @Override @Nonnull public JTextComponentFixture textBox() { return new JTextComponentFixture(robot(), findByType(JTextComponent.class)); }
/** * Returns a fixture that manages the field where the user can enter the name of the file to select in this fixture's * {@code JFileChooser}. * * @return the created fixture. * @throws org.assertj.swing.exception.ComponentLookupException if a matching textToMatch field could not be found. */ @Nonnull public JTextComponentFixture fileNameTextBox() { return new JTextComponentFixture(robot(), driver().fileNameTextBox(target())); }
JTextComponentFixture fixtureEditor = new JTextComponentFixture(robot(), editor); JListFixture fixtureInspetor = new JListFixture(robot(), inspetor);
JTextComponentFixture fixtureEditor = new JTextComponentFixture(robot(), editor);