コード例 #1
0
 /**
  * Simulates a user clicking this fixture's <code>{@link VFSJFileChooser}</code>.
  *
  * @param button the button to click.
  * @return this fixture.
  * @throws NullPointerException if the given <code>MouseButton</code> is <code>null</code>.
  * @throws IllegalStateException if this fixture's <code>VFSJFileChooser</code> is disabled.
  * @throws IllegalStateException if this fixture's <code>VFSJFileChooser</code> is not showing on
  *     the screen.
  */
 public VFSJFileChooserFixture<FileObject> click(MouseButton button) {
   driver.click(target, button);
   return this;
 }
コード例 #2
0
 /**
  * Simulates a user clicking this fixture's <code>{@link VFSJFileChooser}</code>.
  *
  * @param mouseClickInfo specifies the button to click and the times the button should be clicked.
  * @return this fixture.
  * @throws NullPointerException if the given <code>MouseClickInfo</code> is <code>null</code>.
  * @throws IllegalStateException if this fixture's <code>VFSJFileChooser</code> is disabled.
  * @throws IllegalStateException if this fixture's <code>VFSJFileChooser</code> is not showing on
  *     the screen.
  */
 public VFSJFileChooserFixture<FileObject> click(MouseClickInfo mouseClickInfo) {
   driver.click(target, mouseClickInfo);
   return this;
 }
コード例 #3
0
 /**
  * Simulates a user clicking this fixture's <code>{@link VFSJFileChooser}</code>.
  *
  * @return this fixture.
  * @throws IllegalStateException if this fixture's <code>VFSJFileChooser</code> is disabled.
  * @throws IllegalStateException if this fixture's <code>VFSJFileChooser</code> is not showing on
  *     the screen.
  */
 public VFSJFileChooserFixture<FileObject> click() {
   driver.click(target);
   return this;
 }