S
- used to simulate "self types." For more information please read "Emulating 'self types' using Java Generics to simplify fluent API implementation."public interface MouseInputSimulationFixture<S>
Component
.Modifier and Type | Method and Description |
---|---|
S |
click()
Simulates a user clicking this fixture's
Component . |
S |
click(MouseButton button)
Simulates a user clicking this fixture's
Component . |
S |
click(MouseClickInfo mouseClickInfo)
Simulates a user clicking this fixture's
Component . |
S |
doubleClick()
Simulates a user double-clicking this fixture's
Component . |
S |
rightClick()
Simulates a user right-clicking this fixture's
Component . |
@Nonnull S click()
Component
.IllegalStateException
- if the Component
is disabled.IllegalStateException
- if the Component
is not showing on the screen.@Nonnull S click(@Nonnull MouseButton button)
Component
.button
- the button to click.IllegalStateException
- if the Component
is disabled.IllegalStateException
- if the Component
is not showing on the screen.@Nonnull S click(@Nonnull MouseClickInfo mouseClickInfo)
Component
.mouseClickInfo
- specifies the button to click and the times the button should be clicked.NullPointerException
- if the given MouseClickInfo
is null
.IllegalStateException
- if the Component
is disabled.IllegalStateException
- if the Component
is not showing on the screen.@Nonnull S doubleClick()
Component
.IllegalStateException
- if the Component
is disabled.IllegalStateException
- if the Component
is not showing on the screen.@Nonnull S rightClick()
Component
.IllegalStateException
- if the Component
is disabled.IllegalStateException
- if the Component
is not showing on the screen.Copyright © 2014–2019 AssertJ. All rights reserved.