Class TextArea

  • All Implemented Interfaces:
    com.epam.jdi.light.asserts.generic.HasAssert<TextAreaAssert>, com.epam.jdi.light.elements.interfaces.base.HasCache, com.epam.jdi.light.elements.interfaces.base.HasInit, com.epam.jdi.light.elements.interfaces.base.HasLabel, com.epam.jdi.light.elements.interfaces.base.HasPlaceholder, com.epam.jdi.light.elements.interfaces.base.HasValue, com.epam.jdi.light.elements.interfaces.base.IBaseElement, com.epam.jdi.light.elements.interfaces.base.ICoreElement, com.epam.jdi.light.elements.interfaces.base.INamed, com.epam.jdi.light.elements.interfaces.base.JDIElement, com.epam.jdi.light.elements.interfaces.base.SetValue, com.epam.jdi.light.elements.interfaces.common.IsInput, com.epam.jdi.light.elements.interfaces.common.IsText

    public class TextArea
    extends com.epam.jdi.light.elements.base.UIBaseElement<TextAreaAssert>
    implements com.epam.jdi.light.elements.interfaces.base.HasLabel, com.epam.jdi.light.elements.interfaces.base.SetValue, com.epam.jdi.light.elements.interfaces.base.HasPlaceholder, com.epam.jdi.light.elements.interfaces.common.IsInput
    Created by Roman Iovlev on 26.09.2019 Email: roman.iovlev.jdi@gmail.com; Skype: roman.iovlev
    • Field Summary

      • Fields inherited from class com.epam.jdi.light.elements.base.UIBaseElement

        thisParent
    • Constructor Summary

      Constructors 
      Constructor Description
      TextArea()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addNewLine​(String line)  
      int cols()  
      List<String> getLines()  
      String getText()  
      String getValue()  
      TextAreaAssert is()  
      int maxlength()  
      int minlength()  
      int rows()  
      void setLines​(String... lines)  
      void setValue​(String value)  
      • Methods inherited from class com.epam.jdi.light.elements.base.UIBaseElement

        base, core, init, linked, linkedList, toString
      • Methods inherited from interface com.epam.jdi.light.asserts.generic.HasAssert

        assertThat, has, shouldBe, verify, waitFor, waitFor
      • Methods inherited from interface com.epam.jdi.light.elements.interfaces.base.HasLabel

        hasLabel, label, labelText
      • Methods inherited from interface com.epam.jdi.light.elements.interfaces.base.HasPlaceholder

        placeholder
      • Methods inherited from interface com.epam.jdi.light.elements.interfaces.base.IBaseElement

        base, getFullName, getName, isUseCache, offCache, setCore, setName, setTimeout, setup, waitSec
      • Methods inherited from interface com.epam.jdi.light.elements.interfaces.base.ICoreElement

        attr, attrs, children, classes, classLike, classLike, command, commands, core, css, doubleClick, dragAndDropTo, dragAndDropTo, find, find, find, finds, finds, finds, firstChild, getDirectionTo, getDirectionTo, getLocation, getSize, getTagName, hasAttribute, hasClass, highlight, highlight, hover, iCore, isAbove, isAbove, isBelow, isBelow, isDisabled, isDisplayed, isEnabled, isExist, isHidden, isNotExist, isNotVisible, isOnLeftOf, isOnLeftOf, isOnRightOf, isOnRightOf, isVisible, pasteText, pasteText, press, printHtml, pseudo, rightClick, setAttribute, should, shouldBe, show, visualValidation, visualValidation, waitFor, waitFor, with
      • Methods inherited from interface com.epam.jdi.light.elements.interfaces.common.IsInput

        clear, focus, input, sendKeys, setText
      • Methods inherited from interface com.epam.jdi.light.elements.interfaces.common.IsText

        getTextForce, isEmpty, isNotEmpty, text, text
    • Constructor Detail

      • TextArea

        public TextArea()
    • Method Detail

      • setLines

        public void setLines​(String... lines)
      • rows

        public int rows()
      • cols

        public int cols()
      • minlength

        public int minlength()
      • maxlength

        public int maxlength()
      • addNewLine

        public void addNewLine​(String line)
      • setValue

        public void setValue​(String value)
        Specified by:
        setValue in interface com.epam.jdi.light.elements.interfaces.base.SetValue
      • getValue

        public String getValue()
        Specified by:
        getValue in interface com.epam.jdi.light.elements.interfaces.base.HasValue
        Specified by:
        getValue in interface com.epam.jdi.light.elements.interfaces.common.IsText
      • getText

        public String getText()
        Specified by:
        getText in interface com.epam.jdi.light.elements.interfaces.common.IsText
      • is

        public TextAreaAssert is()
        Specified by:
        is in interface com.epam.jdi.light.asserts.generic.HasAssert<TextAreaAssert>
        Overrides:
        is in class com.epam.jdi.light.elements.base.UIBaseElement<TextAreaAssert>