S
- used to simulate "self types." For more information please read "Emulating 'self types' using Java Generics to simplify fluent API implementation."public interface FrameLikeFixture<S> extends WindowLikeContainerFixture<S>
java.awt.Frame
).Modifier and Type | Method and Description |
---|---|
S |
deiconify()
Simulates a user deiconifying this fixture's frame-like component.
|
S |
iconify()
Simulates a user iconifying this fixture's frame-like component.
|
S |
maximize()
Simulates a user maximizing this fixture's frame-like component.
|
S |
normalize()
Simulates a user normalizing this fixture's frame-like component.
|
S |
requireTitle(String expected)
Verifies that the title of the given frame is equal to the expected one.
|
close, moveTo, moveToBack, moveToFront, requireSize, resizeHeightTo, resizeTo, resizeWidthTo
@Nonnull S iconify()
@Nonnull S deiconify()
@Nonnull S maximize()
@Nonnull S normalize()
S requireTitle(String expected)
expected
- the expected title.AssertionError
- if the title of the given frame is not equal to the expected one.Copyright © 2014–2019 AssertJ. All rights reserved.