Interface ToolBar

All Superinterfaces:
Clickable, LocationInfoProvider, SupportDragAndDrop, SupportsNativeObject, TestObject, TestObjectDescriber, VisibleProvider, WaitUntilVisibleProvider, WebElement, WebTestObject, WebTestObjectDescriber

public interface ToolBar extends WebElement
An SAPUI5 tool bar object.
  • Method Details

    • isStandalone

      boolean isStandalone() throws GeneralLeanFtException
      Returns whether the toolbar is independent or nested in another control.
      Returns:
      True if the toolbar is independent.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • getDesign

      Returns the visual design of the toolbar.
      Returns:
      the visual design of the toolbar. Possible values: ToolBarDesign
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • getLeftItemsCount

      int getLeftItemsCount() throws GeneralLeanFtException
      Returns the number of the items in the left part of the toolbar. This number includes separators, but does not include the overflow button.
      Returns:
      The number of the items in the left part of the toolbar (including the separators and excluding the overflow button).
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • getMiddleItemsCount

      int getMiddleItemsCount() throws GeneralLeanFtException
      Returns the number of the items in the middle part of the toolbar. This number includes separators, but does not include the overflow button.
      Returns:
      The number of the items in the middle part of the toolbar (including the separators and excluding the overflow button).
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • getRightItemsCount

      int getRightItemsCount() throws GeneralLeanFtException
      Returns the number of the items in the right part of the toolbar, including separators.
      Returns:
      The number of the items in the right part of the toolbar, including separators.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • openOverflow

      void openOverflow() throws GeneralLeanFtException
      Opens the overflow menu that displays additional toolbar items.
      Throws:
      GeneralLeanFtException - if error occurs during execution