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() |
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
html element. |
void |
invoke(org.openqa.selenium.WebElement element)
Invokes the hotkey on a specified element.
|
void |
setupHotkey(String hotkey)
Sets the hotkey which will be invoked
|
void |
setupSelector(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>public void invoke()
Hotkeyhtml element.public void invoke(org.openqa.selenium.WebElement element)
Hotkeyinvoke in interface Hotkeyelement - element on which the hotkey will be invoked. Element cannot be null.Hotkey.setupHotkey(java.lang.String)public void setupHotkey(String hotkey)
HotkeysetupHotkey in interface Hotkeyhotkey - key sequence which will be invoked, keys are separated with '+' sign and are in lowercase. For example: 'alt+x'.public void setupSelector(String selector)
HotkeysetupSelector in interface Hotkeyselector - JQuery selector to locate element on which the hotkey will be appliedCopyright © 2014 JBoss by Red Hat. All rights reserved.