Package com.hp.lft.sdk.winforms
Interface Window
- All Superinterfaces:
- Clickable,- DoubleClickable,- EnabledProvider,- LocationInfoProvider,- SupportDragAndDrop,- SupportSendKeys,- SupportsNativeObject,- TestObject,- TestObjectDescriber,- TopLevelObject,- UiObjectBase,- UiObjectBase,- VisibleProvider,- WaitUntilEnabledProvider,- WaitUntilVisibleProvider
A .NET Windows Forms window.
- 
Method SummaryModifier and TypeMethodDescriptionvoidactivate()Activates this window.voidactivate(MouseButton button) Activates this window using the specified mouse button.voidclose()Closes this window.Returns the current window state.booleanIndicates whether the object has a thin-line border.booleanIndicates whether the object has a title bar.booleanIndicates whether the object has a sizing border.booleanIndicates whether the object has a window menu on its title bar.booleanisActive()Indicates whether this object is the foreground object (currently active).booleanIndicates whether this window can be maximized.booleanIndicates whether this object is a multiple-document interface (MDI) child window.booleanIndicates whether this object can be minimized.booleanIndicates whether the object is a pop-up window.booleanIndicates whether the object is a floating toolbar.booleanIndicates whether this object stays above all non-topmost windows even when the object is deactivated.voidmaximize()Maximizes this window to fill the entire screen.voidminimize()Minimizes this window to an icon.voidmove(int x, int y) Moves the window to the specified absolute location on the screen.voidMoves the window to the specified absolute location on the screen.voidresize(int width, int height) Resizes this window to the specified dimensions.voidResizes this window.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.winforms.UiObjectBasefireEvent, getFullNamePath, getFullType, getObjectName, getObjectProperty, getText, getWindowClassRegExp, getWindowId, isChildWindow, isOwnedWindowMethods 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 this object is the foreground object (currently active).- Returns:
- true if this is foreground object
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
hasBorderIndicates whether the object has a thin-line border.- Returns:
- true if this has thin-line border
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
hasCaptionIndicates whether the object has a title bar.- Returns:
- true if this has title bar
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
hasSizeboxIndicates whether the object has a sizing border.- Returns:
- true if this has sizing border
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
hasSystemMenuIndicates whether the object has a window menu on its title bar.- Returns:
- true if this has window menu on title bar
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
isMdiChildWindowIndicates whether this object is a multiple-document interface (MDI) child window.- Returns:
- true if MDI child window
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
isPopupWindowIndicates whether the object is a pop-up window.- Returns:
- true if a pop-up window
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
isToolWindowIndicates whether the object is a floating toolbar.- Returns:
- true if a tool window
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
isMaximizableIndicates whether this window can be maximized.- Returns:
- true if can be maximized
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
isMinimizableIndicates whether this object can be minimized.- Returns:
- true if can be minimized
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getWindowStateReturns the current window state.- Returns:
- the current window state
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
isTopmostIndicates whether this object stays above all non-topmost windows even when the object is deactivated.- Returns:
- true if always topmost
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
activateActivates this window.- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
activateActivates this 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 to fill the entire screen.- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
minimizeMinimizes this window to an icon.- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
moveMoves the window to the specified absolute location on the screen.- 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.- Parameters:
- x- the X coordinate in pixels
- y- the Y coordinate in pixels
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
resizeResizes this window.- Parameters:
- size- the new size
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
resizeResizes this window to the specified dimensions.- Parameters:
- width- the new width in pixels
- height- the new height in pixels
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
restoreRestores this window to its previous size.- Throws:
- GeneralLeanFtException- if error occurs during execution
 
 
-