public interface TabControl extends Element
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getSelectedTab()
Returns the name of the selected tab.
|
java.util.List<java.lang.String> |
getTabs()
Returns the list of tabs in the tab strip.
|
java.lang.String |
getText()
Returns the text associated with tab strip.
|
java.lang.String |
getTooltip()
Returns tab strip's tooltip.
|
boolean |
isEnabled()
Indicates whether tab strip can accept user input.
|
void |
select(int tabIndex)
Selects the specified tab by index.
|
void |
select(java.lang.String tab)
Selects the specified tab from the tab strip.
|
void |
setFocus()
Sets the focus to the tab strip.
|
exists, exists, findChildren, getDescription, getDisplayName, getParent, getSnapshot, getTextLocations, getTextLocations, getVisibleText, getVisibleText, highlight, highlightMatches, setDescription, setDisplayName, verifyImageExists, verifyImageExists, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch
describe
getAbsoluteLocation, getLocation, getSize
getNativeObject
boolean isEnabled() throws GeneralLeanFtException
GeneralLeanFtException
- if error occurs during executionjava.lang.String getText() throws GeneralLeanFtException
GeneralLeanFtException
- if error occurs during executionjava.lang.String getTooltip() throws GeneralLeanFtException
GeneralLeanFtException
- if error occurs during executionjava.util.List<java.lang.String> getTabs() throws GeneralLeanFtException
GeneralLeanFtException
- if error occurs during executionjava.lang.String getSelectedTab() throws GeneralLeanFtException
GeneralLeanFtException
- if error occurs during executionvoid select(java.lang.String tab) throws GeneralLeanFtException
tab
- the name of the tab.GeneralLeanFtException
- if error occurs during executionvoid select(int tabIndex) throws GeneralLeanFtException
tabIndex
- 1-based.GeneralLeanFtException
- if error occurs during executionvoid setFocus() throws GeneralLeanFtException
GeneralLeanFtException
- if error occurs during execution