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