Interface ToolBar

All Superinterfaces:
Clickable, DoubleClickable, EnabledProvider, LocationInfoProvider, SupportDragAndDrop, SupportSendKeys, SupportsNativeObject, TestObject, TestObjectDescriber, UiObjectBase, UiObjectBase, VisibleProvider, WaitUntilEnabledProvider, WaitUntilVisibleProvider

public interface ToolBar extends UiObjectBase, TestObject
A .NET WPF toolbar object.
  • Method Details

    • getName

      String getName() throws GeneralLeanFtException
      Returns the name of this object.
      Returns:
      the name of this object.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • getItems

      Returns the toolbar items in this toolbar.
      Returns:
      the toolbar items
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • isItemOverflow

      boolean isItemOverflow(String itemPath) throws GeneralLeanFtException
      Indicates whether the item resides in the overflow area of this toolbar.
      Parameters:
      itemPath - name of the toolbar item
      Returns:
      true if the item resides in the overflow area
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • isItemOverflow

      boolean isItemOverflow(int itemIndex) throws GeneralLeanFtException
      Indicates whether the item resides in the overflow area of this toolbar.
      Parameters:
      itemIndex - 1-based index of the toolbar item
      Returns:
      true if the item resides in the overflow area
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • showOverflow

      void showOverflow() throws GeneralLeanFtException
      Displays the overflow area of this toolbar.
      Throws:
      GeneralLeanFtException - if error occurs during execution