Class MenubarDescription

All Implemented Interfaces:
CloneableObject, Description, com.hp.lft.sdk.internal.DescriptionWithVri, Cloneable

public class MenubarDescription extends WebElementDescription
The description of an SAPUI5 Menubar test object.
  • Constructor Details

    • MenubarDescription

      public MenubarDescription()
      Initializes a new instance of the MenubarDescription class.
    • MenubarDescription

      protected MenubarDescription(MenubarDescription.Init<?> init)
      Initializes a new instance of the MenubarDescription class using the Builder pattern.
      Parameters:
      init - the Builder pattern.
  • Method Details

    • setEnabled

      public void setEnabled(Boolean enabled)
      Sets whether the menubar is enabled.
      Parameters:
      enabled - true to enable the object.
    • isEnabled

      public Boolean isEnabled()
      Returns whether the menubar is enabled.
      Returns:
      True if enabled.
    • setItemsCount

      public void setItemsCount(Integer itemsCount)
      Sets the number of items contained in the menubar.
      Parameters:
      itemsCount - the number of items contained in the menubar.
    • getItemsCount

      public Integer getItemsCount()
      Gets the number of items contained in the menubar.
      Returns:
      the number of items contained in the menubar.
    • setItems

      public void setItems(String[] items)
      Sets a collection of all items in the menubar.
      Parameters:
      items - a collection of all items in the menubar.
    • getItems

      public String[] getItems()
      Returns a collection of all items in the menubar.
      Returns:
      A collection of all items in the menubar.