Class CarouselDescription

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

public class CarouselDescription extends WebElementDescription
The description of an SAPUI5 Carousel test object.
  • Constructor Details

    • CarouselDescription

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

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

    • setEnabled

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

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

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

      public Integer getItemsCount()
      Gets the number of items contained in the carousel.
      Returns:
      The number of items contained in the carousel.
    • setOrientation

      public void setOrientation(Orientation orientation)
      Sets how the carousel items are displayed.
      Parameters:
      orientation - orientation of the carousel items. Possible values: Orientation
    • getOrientation

      public Orientation getOrientation()
      Returns how the carousel items are displayed.
      Returns:
      The orientation of the carousel items. Possible values: Orientation