public abstract class AbstractNumberInput extends Object implements NumberInput
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractNumberInput.AdvancedNumberInputInteractions |
| Constructor and Description |
|---|
AbstractNumberInput() |
| Modifier and Type | Method and Description |
|---|---|
void |
decrease()
Decreases the current value of this number input by the value of the step.
|
void |
decrease(int n)
Dcreases the current value of this number input by the value of the step
n times. |
protected abstract org.openqa.selenium.WebElement |
getArrowDecreaseElement() |
protected abstract org.openqa.selenium.WebElement |
getArrowIncreaseElement() |
protected abstract org.openqa.selenium.WebDriver |
getBrowser() |
protected abstract TextInputComponentImpl |
getInput() |
double |
getValue()
Gets the current number value of this number input.
|
void |
increase()
Increases the current value of this number input by the value of the step.
|
void |
increase(int n)
Increases the current value of this number input by the value of the step
n times. |
void |
setValue(double value)
Sets the exact number value to the input.
|
public void increase()
NumberInputincrease in interface NumberInputpublic void decrease()
NumberInputdecrease in interface NumberInputpublic void increase(int n)
NumberInputn times.
In other words, if the step is 2, and given param n is 3, the input value is increased by 6.increase in interface NumberInputn - how many times the increasing should be executedpublic void decrease(int n)
NumberInputn times.
In other words, if the step is 2, and given param n is 3, the input value is decreased by 6.decrease in interface NumberInputn - how many times the decreasing should be executedpublic void setValue(double value)
NumberInputsetValue in interface NumberInputvalue - value to be setpublic double getValue()
NumberInputgetValue in interface NumberInputprotected abstract org.openqa.selenium.WebElement getArrowIncreaseElement()
protected abstract org.openqa.selenium.WebDriver getBrowser()
protected abstract org.openqa.selenium.WebElement getArrowDecreaseElement()
protected abstract TextInputComponentImpl getInput()
Copyright © 2014 JBoss by Red Hat. All rights reserved.