Package io.jmix.masquerade.component
Class AbstractDetails<T extends AbstractDetails<T>>
java.lang.Object
io.jmix.masquerade.component.AbstractSpecificConditionHandler<T>
io.jmix.masquerade.component.AbstractComponent<T>
io.jmix.masquerade.component.AbstractDetails<T>
- Type Parameters:
T
- inheritor class type
- All Implemented Interfaces:
Container
,SpecificConditionHandler
,ByLocator
,SelenideElementWrapper<T>
- Direct Known Subclasses:
Accordion.Panel
,Details
public abstract class AbstractDetails<T extends AbstractDetails<T>>
extends AbstractComponent<T>
implements Container
Abstract class for details web-element wrappers. Supports clicking on header and child selection as a
Container
implementation.-
Field Summary
Fields inherited from class io.jmix.masquerade.component.AbstractComponent
by, wrappedElement
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClicks on details header to open or close content.org.openqa.selenium.By
getBy()
abstract com.codeborne.selenide.SelenideElement
Methods inherited from class io.jmix.masquerade.component.AbstractComponent
getDelegate
Methods inherited from class io.jmix.masquerade.component.AbstractSpecificConditionHandler
check, should, should, shouldBe, shouldBe, shouldHave, shouldHave, shouldNot, shouldNot, shouldNotBe, shouldNotBe, shouldNotHave, shouldNotHave
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.jmix.masquerade.sys.SelenideElementWrapper
disabled, displayed, enabled, exists, shouldHaveAttribute, shouldHaveAttributeValue, shouldHaveCss, shouldHaveCssValue, shouldNotHaveAttribute, shouldNotHaveAttributeValue, shouldNotHaveCss, shouldNotHaveCssValue
-
Constructor Details
-
AbstractDetails
protected AbstractDetails(org.openqa.selenium.By by)
-
-
Method Details
-
clickOnHeader
Clicks on details header to open or close content.- Returns:
this
to call fluent API
-
getBy
public org.openqa.selenium.By getBy()- Specified by:
getBy
in interfaceByLocator
- Overrides:
getBy
in classAbstractComponent<T extends AbstractDetails<T>>
- Returns:
By
selector by which the current web-element can be found
-
getSummaryElement
public abstract com.codeborne.selenide.SelenideElement getSummaryElement()- Returns:
SelenideElement
for details summary web-element
-