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 SummaryModifier 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.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- 
getTabsCountReturns 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
 
- 
getSelectedTabReturns the selected tabbed panel.- Returns:
- the selected tabbed panel.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getOrigLogicalLocationReturns 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
 
- 
selectSelects the specified tab panel.- Parameters:
- tab- the tab to select.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectSelects the specified tab panel.- Parameters:
- index- the 0-based index of the tab to select.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
closeCloses the specified tab panel.- Parameters:
- tab- the tab to close.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
closeCloses the specified tab panel.- Parameters:
- index- the 0-based index of the tab panel to close.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
 
-