Share this page

com.hp.lft.sdk.sap.ui5

## Class RatingIndicatorDescription.Init<T extends RatingIndicatorDescription.Init<T>>

- java.lang.Object
- - com.hp.lft.sdk.DescriptionBase.Init<T>
  - - com.hp.lft.sdk.web.WebBaseDescription.Init<T>
    - - com.hp.lft.sdk.web.WebElementDescription.Init<T>
      - - com.hp.lft.sdk.sap.ui5.RatingIndicatorDescription.Init<T>

- Direct Known Subclasses:
    RatingIndicatorDescription.Builder
  Enclosing class:
    RatingIndicatorDescription

      protected abstract static class RatingIndicatorDescription.Init<T extends RatingIndicatorDescription.Init<T>>
      extends WebElementDescription.Init<T>

  Helper class for RatingIndicatorDescription.Builder.

- - ### Constructor Summary

    Modifier | Constructor and Description
    --- | ---
    `protected` | `Init()`

  - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `RatingIndicatorDescription` | `build()` Returns the built description instance (builder pattern).
    `T` | `enabled(java.lang.Boolean enabled)` Initializes whether the rating indicator is enabled.
    `T` | `maxRating(java.lang.Integer max)` Initializes the highest rating level that can be set.
    `T` | `orientation(Orientation orientation)` Initializes the orientation of the rating indicator items
    `T` | `rating(java.lang.Double rating)` Initializes the rating level to which the object is currently set.

    - ### Methods inherited from class com.hp.lft.sdk.web.WebElementDescription.Init

      `accessibilityName, accessibilityName, cssSelector, cssSelector, role, role, xpath, xpath`

    - ### Methods inherited from class com.hp.lft.sdk.web.WebBaseDescription.Init

      `absoluteLocation, absoluteLocation, absoluteLocation, attribute, attribute, attributes, className, className, id, id, innerHTML, innerHTML, innerText, innerText, location, location, location, name, name, outerHTML, outerHTML, outerText, outerText, size, size, size, style, style, styles, tagName, tagName, title, title, visible`

    - ### Methods inherited from class com.hp.lft.sdk.DescriptionBase.Init

      `index, self, vri, vri`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Init

          protected Init()

  - ### Method Detail

    - #### build

          public RatingIndicatorDescription build()

      Description copied from class: `DescriptionBase.Init`
      Returns the built description instance (builder pattern).
      Overrides:
        `build` in class `WebElementDescription.Init<T extends RatingIndicatorDescription.Init<T>>`
      Returns:
        The built description instance (builder pattern).

    - #### enabled

          public T enabled(java.lang.Boolean enabled)

      Initializes whether the rating indicator is enabled.
      Parameters:
        `enabled` - true if the rating indicator is enabled.
      Returns:
        The description instance with the update state (builder pattern).

    - #### rating

          public T rating(java.lang.Double rating)

      Initializes the rating level to which the object is currently set.
      Parameters:
        `rating` - the rating level to set.
      Returns:
        The description instance with the update state (builder pattern).

    - #### maxRating

          public T maxRating(java.lang.Integer max)

      Initializes the highest rating level that can be set.
      Parameters:
        `max` - the highest rating level.
      Returns:
        the description instance with the update state (builder pattern).

    - #### orientation

          public T orientation(Orientation orientation)

      Initializes the orientation of the rating indicator items
      Parameters:
        `orientation` - the display mode of the rating indicator items. Possible values: `Orientation`
      Returns:
        the description instance with the update state (builder pattern).

Tips to improve your search results... UFT Developer Java SDK Reference Version 15.0-15.0.2 UFT Developer SDK Reference All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: