com.hp.lft.sdk.sap.ui5

Class CarouselDescription

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


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

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

      • setEnabled

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

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

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

        public java.lang.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