Package com.hp.lft.sdk.java
Interface Window
- All Superinterfaces:
- Clickable,- DoubleClickable,- EnabledProvider,- LocationInfoProvider,- SupportsNativeObject,- TestObject,- TestObjectDescriber,- TopLevelObject,- UiObjectBase,- VisibleProvider,- WaitUntilEnabledProvider,- WaitUntilVisibleProvider
- All Known Subinterfaces:
- Dialog,- InternalFrame
- 
Method SummaryModifier and TypeMethodDescriptionvoidactivate()Activates the window.voidclose()Closes the window.getTitle()Returns the window title.Returns the window state.booleanIndicates whether the object is a Java window.booleanIndicates whether the window can be maximized.booleanIndicates whether the window can be minimized.booleanIndicates whether the window is resizable.voidmaximize()Maximizes the window to fill the screen.voidminimize()Minimizes the window to an icon.voidmove(int x, int y) Moves the window to the specified location on the screen.voidMoves the window to the specified location relative to the screen.voidresize(int width, int height) Resizes the window to the specified dimensions.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.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.java.UiObjectBasecreateObject, createObject, fireEvent, getAttachedText, getBackgroundColor, getForegroundColor, getLabel, getNativeClass, getObjectName, getObjectProperty, getPath, getStatics, getTagName, isFocused, sendKeys, sendKeysMethods 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
 
- 
closeCloses the window.- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
maximizeMaximizes the window to fill the screen.- 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 location relative to the screen.- Parameters:
- point- pixel location relative to the screen.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
moveMoves the window to the specified location on the screen.- Parameters:
- x- in pixels.
- y- in pixels.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
resizeResizes the window to the specified dimensions.- Parameters:
- size- a Dimension object.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
resizeResizes the window to the specified dimensions.- Parameters:
- width- in pixels.
- height- in pixels.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
restoreRestores the window to its previous size.- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
isJavaWindowIndicates whether the object is a Java window.- Returns:
- true if a Java window.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
isMaximizableIndicates whether the window can be maximized.- Returns:
- true if can be maximized.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getWindowStateReturns the window state.- Returns:
- the window state.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
isMinimizableIndicates whether the window can be minimized.- Returns:
- true if can be minimized.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
isResizableIndicates whether the window is resizable.- Returns:
- true if resizable.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getTitleReturns the window title.- Returns:
- the window title.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
 
-