Package com.hp.lft.sdk.java
Interface TabControl
- All Superinterfaces:
Clickable,DoubleClickable,EnabledProvider,LocationInfoProvider,SupportsNativeObject,TestObject,TestObjectDescriber,UiObjectBase,VisibleProvider,WaitUntilEnabledProvider,WaitUntilVisibleProvider
A Java tabstrip control containing tabbed panels.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose(int index) Closes the specified tab panel.voidCloses the specified tab panel.Returns the original logical location of the tab object relative to the parent object.Returns the selected tabbed panel.intReturns the number of tabbed panels contained in the tab object.voidselect(int index) Selects the specified tab panel.voidSelects the specified tab panel.Methods inherited from interface com.hp.lft.sdk.DoubleClickable
doubleClick, doubleClick, doubleClickMethods inherited from interface com.hp.lft.sdk.EnabledProvider
isEnabledMethods inherited from interface com.hp.lft.sdk.LocationInfoProvider
getAbsoluteLocation, getLocation, getSizeMethods inherited from interface com.hp.lft.sdk.SupportsNativeObject
getNativeObjectMethods inherited from interface com.hp.lft.sdk.TestObject
callFTMethod, 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.TestObjectDescriber
describeMethods inherited from interface com.hp.lft.sdk.java.UiObjectBase
createObject, createObject, fireEvent, getAttachedText, getBackgroundColor, getForegroundColor, getLabel, getNativeClass, getObjectName, getObjectProperty, getPath, getStatics, getTagName, isFocused, sendKeys, sendKeysMethods inherited from interface com.hp.lft.sdk.VisibleProvider
isVisibleMethods inherited from interface com.hp.lft.sdk.WaitUntilEnabledProvider
waitUntilEnabled, waitUntilEnabledMethods inherited from interface com.hp.lft.sdk.WaitUntilVisibleProvider
waitUntilVisible, waitUntilVisible
-
Method Details
-
getTabsCount
Returns the number of tabbed panels contained in the tab object.- Returns:
- the number of tabbed panels contained in the tab object.
- Throws:
GeneralLeanFtException- if error occurs during execution
-
getSelectedTab
Returns the selected tabbed panel.- Returns:
- the selected tabbed panel.
- Throws:
GeneralLeanFtException- if error occurs during execution
-
getOrigLogicalLocation
Returns the original logical location of the tab object relative to the parent object.- Returns:
- a string of form X_<x_logical_loc>__Y_<y_logical_loc> where logical_loc is one of 'SMALL', 'BIG', 'FULL', 'CENTER' or 'UNK' if no significance was found.
- Throws:
GeneralLeanFtException- if error occurs during execution
-
select
Selects the specified tab panel.- Parameters:
tab- the tab to select.- Throws:
GeneralLeanFtException- if error occurs during execution
-
select
Selects the specified tab panel.- Parameters:
index- the 0-based index of the tab to select.- Throws:
GeneralLeanFtException- if error occurs during execution
-
close
Closes the specified tab panel.- Parameters:
tab- the tab to close.- Throws:
GeneralLeanFtException- if error occurs during execution
-
close
Closes the specified tab panel.- Parameters:
index- the 0-based index of the tab panel to close.- Throws:
GeneralLeanFtException- if error occurs during execution
-