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) voidChecks whether the given window is ready for input.private voidprivate booleanprivate voidmakeLargeEnoughToReceiveEvents(Window window, WindowMetrics metrics) private static Pair<WindowMetrics,Point> private voidprivate intproposedHeight(WindowMetrics metrics) private intproposedWidth(WindowMetrics metrics) (package private) static intsign()(package private) Windowswindows()
-
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()
-