Class Checkbox

  • All Implemented Interfaces:
    com.epam.jdi.light.asserts.generic.HasAssert<CheckboxAssert>, com.epam.jdi.light.elements.complex.CanBeSelected, com.epam.jdi.light.elements.interfaces.base.HasCache, com.epam.jdi.light.elements.interfaces.base.HasCheck, com.epam.jdi.light.elements.interfaces.base.HasClick, com.epam.jdi.light.elements.interfaces.base.HasInit, com.epam.jdi.light.elements.interfaces.base.HasLabel, com.epam.jdi.light.elements.interfaces.base.HasValue, com.epam.jdi.light.elements.interfaces.base.IBaseElement, com.epam.jdi.light.elements.interfaces.base.IClickable, 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

    public class Checkbox
    extends com.epam.jdi.light.elements.base.UIBaseElement<CheckboxAssert>
    implements com.epam.jdi.light.elements.interfaces.base.HasLabel, com.epam.jdi.light.elements.interfaces.base.SetValue, com.epam.jdi.light.elements.interfaces.base.HasClick, com.epam.jdi.light.elements.interfaces.base.HasCheck, com.epam.jdi.light.elements.complex.CanBeSelected
    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
      Checkbox()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void check()  
      void check​(String value)  
      void click()  
      String getValue()  
      CheckboxAssert is()  
      boolean isDisplayed()  
      com.epam.jdi.light.elements.common.Label label()  
      void setValue​(String value)  
      void uncheck()  
      • 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.elements.complex.CanBeSelected

        isSelected
      • 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.HasClick

        click, doubleClick, rightClick
      • Methods inherited from interface com.epam.jdi.light.elements.interfaces.base.HasLabel

        hasLabel, labelText
      • 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, 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, isEnabled, isExist, isHidden, isNotExist, isNotVisible, isOnLeftOf, isOnLeftOf, isOnRightOf, isOnRightOf, isVisible, pasteText, pasteText, press, printHtml, pseudo, setAttribute, should, shouldBe, show, visualValidation, visualValidation, waitFor, waitFor, with
    • Constructor Detail

      • Checkbox

        public Checkbox()
    • Method Detail

      • label

        public com.epam.jdi.light.elements.common.Label label()
        Specified by:
        label in interface com.epam.jdi.light.elements.interfaces.base.HasLabel
      • click

        public void click()
        Specified by:
        click in interface com.epam.jdi.light.elements.interfaces.base.HasClick
        Specified by:
        click in interface com.epam.jdi.light.elements.interfaces.base.IClickable
      • isDisplayed

        public boolean isDisplayed()
        Specified by:
        isDisplayed in interface com.epam.jdi.light.elements.interfaces.base.ICoreElement
      • check

        public void check​(String value)
      • check

        public void check()
        Specified by:
        check in interface com.epam.jdi.light.elements.interfaces.base.HasCheck
      • uncheck

        public void uncheck()
        Specified by:
        uncheck in interface com.epam.jdi.light.elements.interfaces.base.HasCheck
      • 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
      • is

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