Package io.jmix.masquerade.component
Class MenuBarOverlay<T extends AbstractDropdownComponent<T>>
java.lang.Object
io.jmix.masquerade.component.AbstractSpecificConditionHandler<T>
io.jmix.masquerade.component.AbstractOverlay<MenuBarOverlay<T>,T>
io.jmix.masquerade.component.MenuBarOverlay<T>
- Type Parameters:
T
- overlay dropdown class type
- All Implemented Interfaces:
SpecificConditionHandler
,ByLocator
,SelenideElementWrapper<MenuBarOverlay<T>>
public class MenuBarOverlay<T extends AbstractDropdownComponent<T>>
extends AbstractOverlay<MenuBarOverlay<T>,T>
Web-element wrapper for menu bar overlay.
-
Field Summary
Fields inherited from class io.jmix.masquerade.component.AbstractOverlay
by, parentComponent, wrappedElement
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.jmix.masquerade.component.AbstractOverlay
check, getBy, getDelegate, getParentComponent, getVisibleItems, scrollDown, scrollUp
Methods inherited from class io.jmix.masquerade.component.AbstractSpecificConditionHandler
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
-
MenuBarOverlay
-
-
Method Details
-
clickItem
Clicks on item with passed ID.- Parameters:
itemId
- item ID to click- Returns:
- parent dropdown to call fluent API
-
clickItem
Clicks on item found by the passedBy
selector.- Parameters:
itemBy
-By
selector to find item to click- Returns:
- parent dropdown to call fluent API
-
getVisibleElements
public com.codeborne.selenide.ElementsCollection getVisibleElements()- Specified by:
getVisibleElements
in classAbstractOverlay<MenuBarOverlay<T extends AbstractDropdownComponent<T>>,
T extends AbstractDropdownComponent<T>> - Returns:
ElementsCollection
of the visible overlay elements
-