com.hp.lft.sdk.sap.ui5

Class RatingIndicatorDescription

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


    public class RatingIndicatorDescription
    extends WebElementDescription
    The description of an SAPUI5 RatingIndicator test object.
    • Constructor Detail

      • RatingIndicatorDescription

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

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

      • setEnabled

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

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

        public void setRating(java.lang.Double rating)
        Sets the rating level of the ratingindicator.
        Parameters:
        rating - the rating level to set.
      • getRating

        public java.lang.Double getRating()
        Returns the rating level set for the object.
        Returns:
        The rating level set for the object.
      • setMaxRating

        public void setMaxRating(java.lang.Integer max)
        Sets the highest rating level that can be set.
        Parameters:
        max - the highest rating level that can be set.
      • getMaxRating

        public java.lang.Integer getMaxRating()
        Returns the highest rating level that can be set.
        Returns:
        The highest rating level that can be set.
      • setOrientation

        public void setOrientation(Orientation orientation)
        Sets the orientation of the rating indicator.
        Parameters:
        orientation - the display mode of the rating indicator items. Possible values: Orientation
      • getOrientation

        public Orientation getOrientation()
        Returns the orientation of rating indicator items.
        Returns:
        The orientation of rating indicator items. Possible values: Orientation