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 TypeMethodDescriptionvoid
close
(int index) Closes the specified tab panel.void
Closes the specified tab panel.Returns the original logical location of the tab object relative to the parent object.Returns the selected tabbed panel.int
Returns the number of tabbed panels contained in the tab object.void
select
(int index) Selects the specified tab panel.void
Selects the specified tab panel.Methods inherited from interface com.hp.lft.sdk.DoubleClickable
doubleClick, doubleClick, doubleClick
Methods inherited from interface com.hp.lft.sdk.EnabledProvider
isEnabled
Methods inherited from interface com.hp.lft.sdk.LocationInfoProvider
getAbsoluteLocation, getLocation, getSize
Methods inherited from interface com.hp.lft.sdk.SupportsNativeObject
getNativeObject
Methods 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, waitUntilExists
Methods inherited from interface com.hp.lft.sdk.TestObjectDescriber
describe
Methods inherited from interface com.hp.lft.sdk.java.UiObjectBase
createObject, createObject, fireEvent, getAttachedText, getBackgroundColor, getForegroundColor, getLabel, getNativeClass, getObjectName, getObjectProperty, getPath, getStatics, getTagName, isFocused, sendKeys, sendKeys
Methods inherited from interface com.hp.lft.sdk.VisibleProvider
isVisible
Methods inherited from interface com.hp.lft.sdk.WaitUntilEnabledProvider
waitUntilEnabled, waitUntilEnabled
Methods 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
-