Class DecimalRangeSliderLocator

All Implemented Interfaces:
Clickable<DecimalRangeSlider>

@Generated("com.vaadin.browserless.locator.processor.LocatorProcessor") public class DecimalRangeSliderLocator extends Locator<DecimalRangeSlider,DecimalRangeSliderLocator> implements Clickable<DecimalRangeSlider>
Generated locator for DecimalRangeSlider, derived from DecimalRangeSliderTester. Filter steps are inherited from Locator; action methods delegate to a fresh tester around the resolved component, so behavioral changes belong on the tester, not here.
  • Constructor Details

    • DecimalRangeSliderLocator

      public DecimalRangeSliderLocator()
    • DecimalRangeSliderLocator

      public DecimalRangeSliderLocator(DecimalRangeSlider component)
  • Method Details

    • getComponent

      public DecimalRangeSlider getComponent()
      Description copied from interface: Clickable
      Gets the component being tested.
      Specified by:
      getComponent in interface Clickable<DecimalRangeSlider>
      Returns:
      the component under test
    • ensureComponentIsUsable

      public void ensureComponentIsUsable()
      Description copied from interface: Clickable
      Ensures the component is in a usable state before interaction.
      Specified by:
      ensureComponentIsUsable in interface Clickable<DecimalRangeSlider>
    • setValue

      public void setValue(DecimalRangeSliderValue value)
      Simulates the user dragging both thumbs to set the range value.

      Throws if the component is not usable, if start or end are outside the min/max range, or if start exceeds end. Javadoc copied from NumberRangeSliderTester.setValue(com.vaadin.flow.component.slider.Range).

      Parameters:
      value - range value to set
      Throws:
      IllegalArgumentException - if the value is invalid
    • setStart

      public void setStart(Double start)
      Simulates the user dragging only the start (min) thumb. Javadoc copied from NumberRangeSliderTester.setStart(java.lang.Number).
      Parameters:
      start - new start value
      Throws:
      IllegalArgumentException - if start is outside min/max or exceeds current end
    • setEnd

      public void setEnd(Double end)
      Simulates the user dragging only the end (max) thumb. Javadoc copied from NumberRangeSliderTester.setEnd(java.lang.Number).
      Parameters:
      end - new end value
      Throws:
      IllegalArgumentException - if end is outside min/max or is below current start
    • incrementStart

      public void incrementStart()
      Simulates pressing the arrow key on the start thumb to increase start by one step. Clamped to end value. Javadoc copied from NumberRangeSliderTester.incrementStart().
    • decrementStart

      public void decrementStart()
      Simulates pressing the arrow key on the start thumb to decrease start by one step. Clamped to min. Javadoc copied from NumberRangeSliderTester.decrementStart().
    • incrementStartBy

      public void incrementStartBy(int steps)
      Simulates the user dragging the start thumb to increase start by the given number of steps. Clamped to end value. Javadoc copied from NumberRangeSliderTester.incrementStartBy(int).
      Parameters:
      steps - number of steps to increment
    • decrementStartBy

      public void decrementStartBy(int steps)
      Simulates the user dragging the start thumb to decrease start by the given number of steps. Clamped to min. Javadoc copied from NumberRangeSliderTester.decrementStartBy(int).
      Parameters:
      steps - number of steps to decrement
    • incrementEnd

      public void incrementEnd()
      Simulates pressing the arrow key on the end thumb to increase end by one step. Clamped to max. Javadoc copied from NumberRangeSliderTester.incrementEnd().
    • decrementEnd

      public void decrementEnd()
      Simulates pressing the arrow key on the end thumb to decrease end by one step. Clamped to start value. Javadoc copied from NumberRangeSliderTester.decrementEnd().
    • incrementEndBy

      public void incrementEndBy(int steps)
      Simulates the user dragging the end thumb to increase end by the given number of steps. Clamped to max. Javadoc copied from NumberRangeSliderTester.incrementEndBy(int).
      Parameters:
      steps - number of steps to increment
    • decrementEndBy

      public void decrementEndBy(int steps)
      Simulates the user dragging the end thumb to decrease end by the given number of steps. Clamped to start value. Javadoc copied from NumberRangeSliderTester.decrementEndBy(int).
      Parameters:
      steps - number of steps to decrement