Package io.jmix.masquerade.component
Class DataGrid.HeaderCell
java.lang.Object
io.jmix.masquerade.component.AbstractSpecificConditionHandler<T>
io.jmix.masquerade.component.DataGrid.AbstractCell<DataGrid.HeaderCell>
io.jmix.masquerade.component.DataGrid.HeaderCell
- All Implemented Interfaces:
SpecificConditionHandler
,SelenideElementWrapper<DataGrid.HeaderCell>
- Enclosing class:
- DataGrid
Web-element wrapper for data grid header cell. Supports clicking on sorting button and filter button.
-
Field Summary
Fields inherited from class io.jmix.masquerade.component.DataGrid.AbstractCell
cellWrapper, parent
-
Constructor Summary
ConstructorsConstructorDescriptionHeaderCell
(com.codeborne.selenide.SelenideElement cellWrapper, DataGrid parent) -
Method Summary
Modifier and TypeMethodDescriptionClicks on header filter button.<T extends DialogWindow<T>>
TclickFilter
(Class<T> filterDialogClass) Clicks on header filter button and returns wired filter dialog web-element wrapper.Clicks on sorting button to change sort direction.Methods inherited from class io.jmix.masquerade.component.DataGrid.AbstractCell
getCellContent, 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
-
HeaderCell
-
-
Method Details
-
clickSorting
Clicks on sorting button to change sort direction.- Returns:
this
to call fluent API
-
clickFilter
Clicks on header filter button and returns wired filter dialog web-element wrapper.- Type Parameters:
T
- filter dialog class type- Parameters:
filterDialogClass
- filter dialog class- Returns:
- wired web-element wrapper for opened filter dialog
-
clickFilter
Clicks on header filter button.- Returns:
this
to call fluent API
-