Package org.fest.swing.monitor
Class WindowStatus
java.lang.Object
org.fest.swing.monitor.WindowStatus
Understands verification of the state of a window.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionWindowStatus
(Windows windows) WindowStatus
(Windows windows, RobotFactory robotFactory) -
Method Summary
Modifier and TypeMethodDescription(package private) void
Checks whether the given window is ready for input.private void
private boolean
private void
makeLargeEnoughToReceiveEvents
(Window window, WindowMetrics metrics) private static Pair<WindowMetrics,
Point> private void
private int
proposedHeight
(WindowMetrics metrics) private int
proposedWidth
(WindowMetrics metrics) (package private) static int
sign()
(package private) Windows
windows()
-
Field Details
-
LOGGER
-
ARBITRARY_EXTRA_VALUE
private static final int ARBITRARY_EXTRA_VALUE- See Also:
-
sign
private static int sign -
windows
-
robot
-
-
Constructor Details
-
WindowStatus
WindowStatus(Windows windows) -
WindowStatus
WindowStatus(Windows windows, RobotFactory robotFactory)
-
-
Method Details
-
windows
Windows windows() -
checkIfReady
Checks whether the given window is ready for input.- Parameters:
w
- the given window.
-
checkSafelyIfReady
-
metricsAndCenter
-
mouseMove
-
makeLargeEnoughToReceiveEvents
@RunsInCurrentThread private void makeLargeEnoughToReceiveEvents(Window window, WindowMetrics metrics) -
isEmptyFrame
-
proposedWidth
-
proposedHeight
-
sign
static int sign()
-