public class RichFacesHotkey extends Object implements Hotkey, AdvancedInteractions<RichFacesHotkey.AdvancedHotkeyInteractions>
| Modifier and Type | Class and Description |
|---|---|
class |
RichFacesHotkey.AdvancedHotkeyInteractions |
static class |
RichFacesHotkey.ModifierKeys |
| Constructor and Description |
|---|
RichFacesHotkey() |
| Modifier and Type | Method and Description |
|---|---|
RichFacesHotkey.AdvancedHotkeyInteractions |
advanced() |
protected org.openqa.selenium.interactions.Actions |
getActions() |
void |
invoke()
Invokes the hotkey on an element which is specified by selector attribute of hotkey, when the selector is empty, then the
hotkey will be invoked on
body element. |
void |
invoke(org.openqa.selenium.WebElement elementOrNull)
Invokes the hotkey on a specified element.
|
void |
setHotkey(String hotkey)
Sets the hotkey which will be invoked
|
void |
setSelector(String selector)
Sets the JQuery selector, by which the element on which the hotkey will be invoked, will be found.
|
public RichFacesHotkey.AdvancedHotkeyInteractions advanced()
advanced in interface AdvancedInteractions<RichFacesHotkey.AdvancedHotkeyInteractions>protected org.openqa.selenium.interactions.Actions getActions()
public void invoke()
Hotkeybody element.invoke in interface HotkeyHotkey.setHotkey(java.lang.String),
Hotkey.setSelector(java.lang.String)public void invoke(org.openqa.selenium.WebElement elementOrNull)
Hotkeyinvoke in interface HotkeyelementOrNull - element on which the hotkey will be invoked. In case the element is null, the actually focused element is
used, otherwise the body element is used.Hotkey.setHotkey(java.lang.String)public void setHotkey(String hotkey)
Hotkeypublic void setSelector(String selector)
HotkeysetSelector in interface Hotkeyselector - JQuery selector to locate element on which the hotkey will be appliedCopyright © 2016 JBoss by Red Hat. All Rights Reserved.