Class SliderDescription

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

public class SliderDescription extends UiObjectBaseDescription
The description of a Java Slider test object.
  • Constructor Details

    • SliderDescription

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

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

    • setContainerAttachedText

      public void setContainerAttachedText(StringProperty containerAttachedText)
      Sets the slider container's attached text.
      Parameters:
      containerAttachedText - a StringProperty or RegExpProperty.
    • setContainerAttachedText

      public void setContainerAttachedText(String containerAttachedText)
      Sets the slider container's attached text.
      Parameters:
      containerAttachedText - the text.
    • getContainerAttachedText

      public StringProperty getContainerAttachedText()
      Returns the slider container's attached text.
      Returns:
      the container's attached text.
    • getOrientation

      public SliderOrientation getOrientation()
      Returns the orientation of the slider.
      Returns:
      the orientation of the slider.
    • setOrientation

      public void setOrientation(SliderOrientation orientation)
      Sets the orientation of the slider.
      Parameters:
      orientation - the orientation of the slider.
    • getPosition

      public Integer getPosition()
      Returns the position of the slider.
      Returns:
      the position of the slider.
    • setPosition

      public void setPosition(Integer position)
      Sets the position of the slider.
      Parameters:
      position - the position of the slider.
    • getMaxPosition

      public Integer getMaxPosition()
      Returns the maximum position of the slider.
      Returns:
      the maximum position of the slider.
    • setMaxPosition

      public void setMaxPosition(Integer maxPosition)
      Sets the maximum position of the slider.
      Parameters:
      maxPosition - the maximum position of the slider.
    • getMinPosition

      public Integer getMinPosition()
      Returns the minimum position of the slider.
      Returns:
      the minimum position of the slider.
    • setMinPosition

      public void setMinPosition(Integer minPosition)
      Sets the minimum position of the slider.
      Parameters:
      minPosition - the minimum position of the slider.
    • setScrollBar

      public void setScrollBar(Boolean isScrollBar)
      Sets whether slider is a scrollBar.
      Parameters:
      isScrollBar - true if slider is a scrollBar.
    • isScrollBar

      public Boolean isScrollBar()
      Indicates whether slider is a scrollBar.
      Returns:
      true if slider is a scrollBar.