Class ToolBarDescription

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

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

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

    • setStandalone

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

      public 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(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 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(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 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(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 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.