Package com.hp.lft.sdk.wpf
Interface Window
- All Superinterfaces:
- Clickable,- DoubleClickable,- EnabledProvider,- LocationInfoProvider,- SupportDragAndDrop,- SupportSendKeys,- SupportsNativeObject,- TestObject,- TestObjectDescriber,- TopLevelObject,- UiObjectBase,- UiObjectBase,- VisibleProvider,- WaitUntilEnabledProvider,- WaitUntilVisibleProvider
A WPF window.
- 
Method SummaryModifier and TypeMethodDescriptionvoidactivate()Activates the window.voidactivate(MouseButton button) Activates the window using the specified mouse button.voidclose()Closes this window.Returns the text associated with the parent object of this object.Returns the window state: maximized, minimized or normal.booleanisModal()Indicates whether the window is modal.voidmaximize()Maximizes this window.voidminimize()Minimizes this window to an icon.voidmove(int x, int y) Moves this window to the specified absolute location on the screen.voidMoves this window to the specified absolute location on the screen.voidresize(int width, int height) Resizes this window to the specified dimensions.voidResizes this window to the specified dimensions.voidrestore()Restores this 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.SupportsNativeObjectgetNativeObjectMethods 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.UiObjectBasegetHandle, getNativeClass, getWindowTitleRegExp, isFocused, mouseMoveMethods inherited from interface com.hp.lft.sdk.wpf.UiObjectBasecanFocus, getAttachedText, getFullNamePath, getFullType, getObjectName, getObjectProperty, getText, makeVisible, showContextMenuMethods 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- 
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.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
closeCloses this window.- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
maximizeMaximizes this window.- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
minimizeMinimizes this window to an icon.- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
moveMoves this window to the specified absolute location on the screen.- Parameters:
- point- absolute pixel location on the screen
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
moveMoves this window to the specified absolute location on the screen.- Parameters:
- x- in pixels
- y- in pixels
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
resizeResizes this window to the specified dimensions.- Parameters:
- size- the new dimensions
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
resizeResizes this window to the specified dimensions.- Parameters:
- width- in pixels
- height- in pixels
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
restoreRestores this window to its previous size.- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getWindowStateReturns the window state: maximized, minimized or normal.- Returns:
- the window state
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
isModalIndicates whether the window is modal.- Returns:
- true, if the window is modal.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getParentTextReturns the text associated with the parent object of this object.- Returns:
- the text associated with the parent
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
 
-