T
- type of valuepublic abstract class TimeSpinner<T> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TimeSpinner.TimeSign |
static class |
TimeSpinner.TimeSignSpinner |
static class |
TimeSpinner.TimeSpinner12 |
static class |
TimeSpinner.TimeSpinner24 |
static class |
TimeSpinner.TimeSpinner60 |
Constructor and Description |
---|
TimeSpinner() |
Modifier and Type | Method and Description |
---|---|
org.openqa.selenium.WebElement |
getButtonDownElement() |
org.openqa.selenium.WebElement |
getButtonUpElement() |
TextInputComponentImpl |
getInput() |
protected org.openqa.selenium.WebElement |
getRootElement() |
abstract T |
getValue()
Returns value set in this spinner
|
protected boolean |
isSameValueAreadySet(T value) |
boolean |
isVisible() |
void |
setValueBy(T value,
TimeEditor.SetValueBy by) |
abstract void |
setValueByButtons(T value)
Sets spinner's value by clicking on the buttons
|
void |
setValueByTyping(T value)
Sets spinner value by direct input writing
|
void |
waitUntilIsVisible() |
public org.openqa.selenium.WebElement getButtonDownElement()
public org.openqa.selenium.WebElement getButtonUpElement()
public TextInputComponentImpl getInput()
public abstract T getValue()
protected boolean isSameValueAreadySet(T value)
public boolean isVisible()
public void setValueBy(T value, TimeEditor.SetValueBy by)
public abstract void setValueByButtons(T value)
value
- value to be setpublic void setValueByTyping(T value)
value
- value to be setpublic void waitUntilIsVisible()
protected org.openqa.selenium.WebElement getRootElement()
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.