Interface IWindow
A Java window.
public interface IWindow : IUiObjectBase, IClickable, IDoubleClickable, ILocationInfoProvider, ISupportsNativeObject, IEnabledProvider, IVisibleProvider, ITopLevelObject, ITestObject, ITestObjectDescriber
- Inherited Members
- Extension Methods
Properties
IsJavaWindow
Indicates whether the object is a Java window.
bool IsJavaWindow { get; }
Property Value
IsMaximizable
Indicates whether the window can be maximized.
bool IsMaximizable { get; }
Property Value
IsMinimizable
Indicates whether the window can be minimized.
bool IsMinimizable { get; }
Property Value
IsResizable
Indicates whether the window is resizable.
bool IsResizable { get; }
Property Value
Title
The window title.
string Title { get; }
Property Value
WindowState
The current window state.
WindowState WindowState { get; }
Property Value
Methods
Activate()
Activates this window.
void Activate()
Close()
Closes this window.
void Close()
Maximize()
Maximizes this window.
void Maximize()
Minimize()
Minimizes this window to an icon.
void Minimize()
Move(Point)
Moves this window to the specified point on the screen.
void Move(Point point)
Parameters
pointPointPixel location on the screen.
Remarks
0,0 is the top-left corner of the primary monitor.
Move(int, int)
Moves this window to the specified point on the screen.
void Move(int x, int y)
Parameters
Remarks
0,0 is the top-left corner of the primary monitor.
Resize(Size)
Resizes this window to the specified dimensions.
void Resize(Size size)
Parameters
sizeSizeThe size in pixels.
Resize(int, int)
Resizes this window to the specified dimensions.
void Resize(int width, int height)
Parameters
Restore()
Restores this window to its previous size.
void Restore()