Package com.hp.lft.sdk.stdwin
Interface Window
- All Superinterfaces:
- Clickable,- DoubleClickable,- EnabledProvider,- LocationInfoProvider,- SupportDragAndDrop,- SupportSendKeys,- TestObject,- TestObjectDescriber,- TopLevelObject,- UiObjectBase,- UiObjectBase,- UiObjectWithLayoutInfo,- VisibleProvider,- WaitUntilEnabledProvider,- WaitUntilVisibleProvider
- All Known Subinterfaces:
- Dialog
A standard Windows window.
- 
Method SummaryModifier and TypeMethodDescriptionvoidactivate()Activates the window.voidactivate(MouseButton button) Activates the window using the specified mouse button.voidclose()Closes the window.The current window state.booleanIndicates whether the window has a thin-line border.booleanIndicates whether the window has a title bar.booleanIndicates whether the window has a sizing border.booleanIndicates whether the window has a window menu on its title bar.booleanisActive()Indicates whether the window is the foreground object (currently active).booleanIndicates whether the window is a child window.booleanIndicates whether the window can be maximized.booleanIndicates whether the window is a multiple-document interface (MDI) child window.booleanIndicates whether the window can be minimized.booleanIndicates whether the window has an owner window.booleanIndicates whether the window is a pop-up window.booleanIndicates whether the window is a tool window (a floating toolbar).booleanIndicates whether the window is placed above all non-topmost windows and remains in place, even when the window is deactivated.voidmaximize()Maximizes the window.voidminimize()Minimizes the window to an icon.voidmove(int x, int y) Moves the window to the specified absolute location on the screen with X,Y coordinates.voidMoves the window to the specified absolute location on the screen with a Point object.voidresize(int width, int height) Resizes the window to the specified dimensions by width and height values.voidResizes the window to the specified dimensions.voidrestore()Restores the window to its previous size.Methods inherited from interface com.hp.lft.sdk.DoubleClickabledoubleClick, doubleClick, doubleClickMethods inherited from interface com.hp.lft.sdk.EnabledProviderisEnabledMethods inherited from interface com.hp.lft.sdk.LocationInfoProvidergetAbsoluteLocation, getLocation, getSizeMethods inherited from interface com.hp.lft.sdk.SupportDragAndDropdragAndDropOn, dragAndDropOnMethods inherited from interface com.hp.lft.sdk.SupportSendKeyssendKeys, sendKeysMethods inherited from interface com.hp.lft.sdk.TestObjectcallFTMethod, callFTMethod, exists, exists, findChildren, getDescription, getDisplayName, getParent, getSnapshot, getTextLocations, getTextLocations, getVisibleText, getVisibleText, highlight, highlightMatches, setDescription, setDisplayName, verifyImageExists, verifyImageExists, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, waitUntilExists, waitUntilExistsMethods inherited from interface com.hp.lft.sdk.TestObjectDescriberdescribeMethods inherited from interface com.hp.lft.sdk.stdwin.UiObjectBasegetAccessibleName, getAttachedText, getText, getWindowClassRegExp, getWindowExtendedStyle, getWindowExtendedStyleAsLong, getWindowId, getWindowStyle, getWindowStyleAsLongMethods inherited from interface com.hp.lft.sdk.UiObjectBasegetHandle, getNativeClass, getWindowTitleRegExp, isFocused, mouseMoveMethods inherited from interface com.hp.lft.sdk.stdwin.UiObjectWithLayoutInfoisRightAligned, isRightToLeftLayout, isRightToLeftReadingMethods inherited from interface com.hp.lft.sdk.VisibleProviderisVisibleMethods inherited from interface com.hp.lft.sdk.WaitUntilEnabledProviderwaitUntilEnabled, waitUntilEnabledMethods inherited from interface com.hp.lft.sdk.WaitUntilVisibleProviderwaitUntilVisible, waitUntilVisible
- 
Method Details- 
isActiveIndicates whether the window is the foreground object (currently active).- Returns:
- true when the window is the foreground object (currently active).
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
hasBorderIndicates whether the window has a thin-line border.- Returns:
- true when the window has a thin-line border.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
hasCaptionIndicates whether the window has a title bar.- Returns:
- true when the window has a title bar.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
hasSizeboxIndicates whether the window has a sizing border.- Returns:
- true when the window has a sizing border.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
hasSystemMenuIndicates whether the window has a window menu on its title bar.- Returns:
- true when the window has a window menu on its title bar.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
isOwnedWindowIndicates whether the window has an owner window.- Returns:
- true when the window has an owner window.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
isChildWindowIndicates whether the window is a child window.- Returns:
- true when the window is a child window.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
isMdiChildWindowIndicates whether the window is a multiple-document interface (MDI) child window.- Returns:
- true when the window is a multiple-document interface (MDI) child window.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
isPopupWindowIndicates whether the window is a pop-up window.- Returns:
- true when the window is a pop-up window..
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
isToolWindowIndicates whether the window is a tool window (a floating toolbar).- Returns:
- indicates whether the window is a tool window (a floating toolbar).
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
isMaximizableIndicates whether the window can be maximized.- Returns:
- true when the window can be maximized.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
isMinimizableIndicates whether the window can be minimized.- Returns:
- true when the window can be minimized.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getWindowStateThe current window state. Possible values:WindowState.- Returns:
- the current window state. Possible values: WindowState.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
isTopmostIndicates whether the window is placed above all non-topmost windows and remains in place, even when the window is deactivated.- Returns:
- true when the window is placed above all non-topmost windows and remains in place, even when the window is deactivated..
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
activateActivates the window.- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
activateActivates the window using the specified mouse button.- Parameters:
- button- the mouse button used to click the window. Possible values:- MouseButton
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
closeCloses the window.- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
maximizeMaximizes the window.- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
minimizeMinimizes the window to an icon.- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
moveMoves the window to the specified absolute location on the screen with a Point object.- Parameters:
- point- absolute pixel location (X,Y) on the screen
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
moveMoves the window to the specified absolute location on the screen with X,Y coordinates.- Parameters:
- x- the X coordinate to move to.
- y- the Y coordinate to move to.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
resizeResizes the window to the specified dimensions.- Parameters:
- size- the size to resize to (in pixels).
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
resizeResizes the window to the specified dimensions by width and height values.- Parameters:
- width- the width value (in pixels).
- height- the height value (in pixels).
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
restoreRestores the window to its previous size.- Throws:
- GeneralLeanFtException- if error occurs during execution
 
 
-