com.hp.lft.sdk.sap.ui5

Class ToolBarDescription

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


    public class ToolBarDescription
    extends WebElementDescription
    The description of an SAPUI5 Toolbar test object.
    • Constructor Detail

      • ToolBarDescription

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

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

      • setStandalone

        public void setStandalone(java.lang.Boolean standalone)
        Sets whether the toolbar is standalone or nested.
        Parameters:
        standalone - true to set the toolbar as standalone.
      • isStandalone

        public java.lang.Boolean isStandalone()
        Returns whether the toolbar is standalone or nested.
        Returns:
        True if standalone.
      • setDesign

        public void setDesign(ToolBarDesign design)
        Sets the visual design of the toolbar.
        Parameters:
        design - the visual design of the toolbar. Possible values: ToolBarDesign
      • getDesign

        public ToolBarDesign getDesign()
        Returns the visual design of the toolbar.
        Returns:
        The visual design of the toolbar. Possible values: ToolBarDesign
      • setLeftItemsCount

        public void setLeftItemsCount(java.lang.Integer leftItemsCount)
        Sets the number of items in the left side of the toolbar.
        Parameters:
        leftItemsCount - number of items in the left side of the toolbar.
      • getLeftItemsCount

        public java.lang.Integer getLeftItemsCount()
        Returns the number of items in the left side of the toolbar.
        Returns:
        The number of items in the left side of the toolbar.
      • setMiddleItemsCount

        public void setMiddleItemsCount(java.lang.Integer middleItemsCount)
        Sets the number of items in the middle of the toolbar.
        Parameters:
        middleItemsCount - the number of items in the middle of the toolbar.
      • getMiddleItemsCount

        public java.lang.Integer getMiddleItemsCount()
        Returns the number of items in the middle of the toolbar.
        Returns:
        The number of items in the middle of the toolbar.
      • setRightItemsCount

        public void setRightItemsCount(java.lang.Integer rightItemsCount)
        Sets the number of items in the right side of the toolbar.
        Parameters:
        rightItemsCount - the number of items in the right side of the toolbar.
      • getRightItemsCount

        public java.lang.Integer getRightItemsCount()
        Returns the number of items in the right side of the toolbar.
        Returns:
        The number of items in the right side of the toolbar.