com.hp.lft.sdk.sap.ui5

Class MenubarDescription

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