com.epam.jdi.uitests.win.winnium.elements.common.TextBox Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jdi-uitest-win Show documentation
Show all versions of jdi-uitest-win Show documentation
Epam UI Automation framework package for Windows
The newest version!
package com.epam.jdi.uitests.win.winnium.elements.common;
import com.epam.jdi.uitests.core.interfaces.common.ITextArea;
import com.epam.jdi.uitests.win.winnium.elements.base.Element;
import com.epam.jdi.uitests.win.winnium.elements.base.managers.WebElementTextManager;
public class TextBox extends Element implements ITextArea {
private WebElementTextManager textFromWebElement = new WebElementTextManager(this);
//ITextArea
@Override
public void inputLines(String... textLines) {
textFromWebElement.inputLines(textLines);
}
@Override
public void addNewLine(String textLine) {
textFromWebElement.addNewLine(textLine);
}
@Override
public String[] getLines() {
return textFromWebElement.getLines();
}
//ISetValue
@Override
public void setValue(String value) {
textFromWebElement.setValue(value);
}
//ITextField
@Override
public void input(CharSequence text) {
textFromWebElement.input(text);
}
@Override
public String label() {
return null;
}
@Override
public void newInput(CharSequence text) {
textFromWebElement.newInput(text);
}
@Override
public void clear() {
textFromWebElement.clear();
}
@Override
public void focus() {
textFromWebElement.focus();
}
//IText
@Override
public String getText() {
return textFromWebElement.getText();
}
@Override
public String waitText(String text) {
return textFromWebElement.waitText(text);
}
@Override
public String waitMatchText(String regEx) {
return textFromWebElement.waitMatchText(regEx);
}
//IHasValue
@Override
public String getValue() {
return textFromWebElement.getValue();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy