com.hp.lft.sdk.sap.ui5

Class MenubarDescription

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


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

      • 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 Detail

      • setEnabled

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

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

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

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

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

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