Class RatingIndicatorDescription

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

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

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

    • setEnabled

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

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

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

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

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

      public 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