public class RatingIndicatorDescription extends WebElementDescription
Modifier and Type | Class and Description |
---|---|
static class |
RatingIndicatorDescription.Builder
This class can be used to construct an instance of the RatingIndicatorDescription class using the builder pattern.
|
protected static class |
RatingIndicatorDescription.Init<T extends RatingIndicatorDescription.Init<T>>
Helper class for RatingIndicatorDescription.Builder.
|
Modifier | Constructor and Description |
---|---|
|
RatingIndicatorDescription()
Initializes a new instance of the RatingIndicatorDescription class.
|
protected |
RatingIndicatorDescription(RatingIndicatorDescription.Init<?> init)
Initializes a new instance of the RatingIndicatorDescription class using the Builder pattern.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getMaxRating()
Returns the highest rating level that can be set.
|
Orientation |
getOrientation()
Returns the orientation of rating indicator items.
|
java.lang.Double |
getRating()
Returns the rating level set for the object.
|
java.lang.Boolean |
isEnabled()
Returns whether the object is enabled.
|
void |
setEnabled(java.lang.Boolean enabled)
Sets whether the object is enabled.
|
void |
setMaxRating(java.lang.Integer max)
Sets the highest rating level that can be set.
|
void |
setOrientation(Orientation orientation)
Sets the orientation of the rating indicator.
|
void |
setRating(java.lang.Double rating)
Sets the rating level of the ratingindicator.
|
getAccessibilityName, getCSSSelector, getRole, getXPath, setAccessibilityName, setAccessibilityName, setCSSSelector, setCSSSelector, setRole, setRole, setXPath, setXPath
cloneTo, getAbsoluteLocation, getAttributes, getClassName, getId, getInnerHTML, getInnerText, getLocation, getName, getOuterHTML, getOuterText, getSize, getStyles, getTagName, getTitle, isVisible, setAbsoluteLocation, setAbsoluteLocation, setAbsoluteLocation, setAttributes, setClassName, setClassName, setId, setId, setInnerHTML, setInnerHTML, setInnerText, setInnerText, setLocation, setLocation, setLocation, setName, setName, setOuterHTML, setOuterHTML, setOuterText, setOuterText, setSize, setSize, setSize, setStyles, setTagName, setTagName, setTitle, setTitle, setVisible
getIndex, getIndexType, getVRI, setIndex, setIndexType, setVRI, setVRI
clone
getValueAs, getValueAsStringProperty, insertValue
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone
public RatingIndicatorDescription()
protected RatingIndicatorDescription(RatingIndicatorDescription.Init<?> init)
init
- the Builder pattern.public void setEnabled(java.lang.Boolean enabled)
enabled
- true to enable the object.public java.lang.Boolean isEnabled()
public void setRating(java.lang.Double rating)
rating
- the rating level to set.public java.lang.Double getRating()
public void setMaxRating(java.lang.Integer max)
max
- the highest rating level that can be set.public java.lang.Integer getMaxRating()
public void setOrientation(Orientation orientation)
orientation
- the display mode of the rating indicator items. Possible values: Orientation
public Orientation getOrientation()
Orientation