Package com.hp.lft.sdk.java
Interface ToolBar
- All Superinterfaces:
Clickable
,DoubleClickable
,EnabledProvider
,LocationInfoProvider
,SupportsNativeObject
,TestObject
,TestObjectDescriber
,UiObjectBase
,VisibleProvider
,WaitUntilEnabledProvider
,WaitUntilVisibleProvider
A Java toolbar.
-
Method Summary
Modifier and TypeMethodDescriptionReturns theToolBarButton
with the specified text.Returns the toolbar buttons in this toolbar.Returns the selected toolbar buttons in this toolbar.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
-
getButtons
Returns the toolbar buttons in this toolbar.- Returns:
- the
ToolBarButton
objects in this toolbar. - Throws:
GeneralLeanFtException
- if error occurs during execution
-
getSelectedButtons
Returns the selected toolbar buttons in this toolbar.- Returns:
- the selected
ToolBarButton
objects in this toolbar. - Throws:
GeneralLeanFtException
- if error occurs during execution
-
getButton
Returns theToolBarButton
with the specified text.- Parameters:
text
- the text.- Returns:
- the button with the specified text.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-