public interface WindowLikeContainerFixture
Window
):
Modifier and Type | Method and Description |
---|---|
void |
close()
Simulates a user closing this fixture's window-like container.
|
WindowLikeContainerFixture |
moveTo(Point p)
Simulates a user moving this fixture's window-like container to the given point.
|
WindowLikeContainerFixture |
moveToBack()
Sends this fixture's window-like component to the back.
|
WindowLikeContainerFixture |
moveToFront()
Brings this fixture's window-like component to the front.
|
WindowLikeContainerFixture |
requireSize(Dimension size)
Asserts that the size of this fixture's window-like container is equal to given one.
|
WindowLikeContainerFixture |
resizeHeightTo(int height)
Simulates a user resizing vertically this fixture's window-like container.
|
WindowLikeContainerFixture |
resizeTo(Dimension size)
Simulates a user resizing this fixture's window-like container.
|
WindowLikeContainerFixture |
resizeWidthTo(int width)
Simulates a user resizing horizontally this fixture's window-like container.
|
void close()
WindowLikeContainerFixture resizeWidthTo(int width)
width
- the width that this fixture's window-like container should have after being resized.WindowLikeContainerFixture resizeHeightTo(int height)
height
- the height that this fixture's window-like container should have after being resized.WindowLikeContainerFixture resizeTo(Dimension size)
size
- the size that the target window should have after being resized.WindowLikeContainerFixture requireSize(Dimension size)
size
- the given size to match.AssertionError
- if the size of this fixture's window-like container is not equal to the given size.WindowLikeContainerFixture moveTo(Point p)
p
- the point to move this fixture's window-like container to.WindowLikeContainerFixture moveToFront()
WindowLikeContainerFixture moveToBack()
Copyright © 2007-2012 FEST (Fixtures for Easy Software Testing). All Rights Reserved.