Table of Contents

Interface IWindow

Namespace
HP.LFT.SDK.Java
Assembly
HP.LFT.SDK.dll

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

bool

IsMaximizable

Indicates whether the window can be maximized.

bool IsMaximizable { get; }

Property Value

bool

IsMinimizable

Indicates whether the window can be minimized.

bool IsMinimizable { get; }

Property Value

bool

IsResizable

Indicates whether the window is resizable.

bool IsResizable { get; }

Property Value

bool

Title

The window title.

string Title { get; }

Property Value

string

WindowState

The current window state.

WindowState WindowState { get; }

Property Value

WindowState

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

point Point

Pixel 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

x int

In pixels.

y int

In pixels.

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

size Size

The size in pixels.

Resize(int, int)

Resizes this window to the specified dimensions.

void Resize(int width, int height)

Parameters

width int

In pixels.

height int

In pixels.

Restore()

Restores this window to its previous size.

void Restore()