Uses of Class
com.vaadin.testbench.unit.MetaKeys
Packages that use MetaKeys
Package
Description
-
Uses of MetaKeys in com.vaadin.flow.component.button
Methods in com.vaadin.flow.component.button with parameters of type MetaKeysModifier and TypeMethodDescriptionvoid
If the component is usable send click to component as if it was from the client with defined meta keys pressed.void
ButtonTester.middleClick
(MetaKeys metaKeys) Click with middle button and given meta keys.void
ButtonTester.rightClick
(MetaKeys metaKeys) Click with right button and given meta keys. -
Uses of MetaKeys in com.vaadin.flow.component.grid
Methods in com.vaadin.flow.component.grid with parameters of type MetaKeysModifier and TypeMethodDescriptionvoid
Click on grid row with given meta keys pressed.void
GridTester.clickRow
(int row, MouseButton button, MetaKeys metaKeys) Click on grid row with given button and meta keys pressed.void
GridTester.doubleClickRow
(int row, MetaKeys metaKeys) Double-click on grid row with given meta keys pressed.void
GridTester.doubleClickRow
(int row, MouseButton button, MetaKeys metaKeys) Double-click on grid row with given button and meta keys pressed. -
Uses of MetaKeys in com.vaadin.flow.component.html.testbench
Methods in com.vaadin.flow.component.html.testbench with parameters of type MetaKeysModifier and TypeMethodDescriptionvoid
default void
If the component is usable send click to component as if it was from the client with defined meta keys pressed.void
void
default void
ClickHandler.middleClick
(MetaKeys metaKeys) Click with middle button and given meta keys.default void
ClickHandler.rightClick
(MetaKeys metaKeys) Click with right button and given meta keys. -
Uses of MetaKeys in com.vaadin.testbench.unit
Methods in com.vaadin.testbench.unit that return MetaKeysModifier and TypeMethodDescriptionMetaKeys.alt()
Set alt key down totrue
.MetaKeys.ctrl()
Set ctrl key down totrue
.MetaKeys.meta()
Set meta key down totrue
.MetaKeys.setAlt
(boolean alt) Set alt key down state to given value.MetaKeys.setCtrl
(boolean ctrl) Set ctrl key down state to given value.MetaKeys.setMeta
(boolean meta) Set meta key down state to given value.MetaKeys.setShift
(boolean shift) Set shift key down state to given value.MetaKeys.shift()
Set shift key down totrue
.