Package io.jmix.masquerade.component
Class AbstractDropdownComponent<T extends AbstractDropdownComponent<T>>
java.lang.Object
io.jmix.masquerade.component.AbstractSpecificConditionHandler<T>
io.jmix.masquerade.component.AbstractComponent<T>
io.jmix.masquerade.component.AbstractDropdownComponent<T>
- Type Parameters:
T- inheritor class type
- All Implemented Interfaces:
SpecificConditionHandler,ByLocator,SelenideElementWrapper<T>
- Direct Known Subclasses:
ComboButton,DropdownButton
public abstract class AbstractDropdownComponent<T extends AbstractDropdownComponent<T>>
extends AbstractComponent<T>
Abstract class for web-element wrappers with dropdowns. Supports clicking on overlay button
to open
MenuBarOverlay.-
Field Summary
Fields inherited from class io.jmix.masquerade.component.AbstractComponent
by, wrappedElement -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClicks on overlay button to open anoverlay.protected MenuBarOverlay<T>protected com.codeborne.selenide.SelenideElementMethods inherited from class io.jmix.masquerade.component.AbstractComponent
getBy, getDelegateMethods inherited from class io.jmix.masquerade.component.AbstractSpecificConditionHandler
check, should, should, shouldBe, shouldBe, shouldHave, shouldHave, shouldNot, shouldNot, shouldNotBe, shouldNotBe, shouldNotHave, shouldNotHaveMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.jmix.masquerade.sys.SelenideElementWrapper
disabled, displayed, enabled, exists, shouldHaveAttribute, shouldHaveAttributeValue, shouldHaveCss, shouldHaveCssValue, shouldNotHaveAttribute, shouldNotHaveAttributeValue, shouldNotHaveCss, shouldNotHaveCssValue
-
Constructor Details
-
AbstractDropdownComponent
protected AbstractDropdownComponent(org.openqa.selenium.By by)
-
-
Method Details
-
clickItemsOverlay
Clicks on overlay button to open anoverlay.- Returns:
thisto call fluent API
-
getItemsOverlay
- Returns:
- current opened
overlayweb-element wrapper
-
getOpenOverlayButtonElement
protected com.codeborne.selenide.SelenideElement getOpenOverlayButtonElement()- Returns:
SelenideElementweb-element wrapper for open overlay button
-
getMenuBarOverlay
- Returns:
- current opened
overlay wrapperfor the dropdown
-