public static enum KeyboardShortcutManager.Operation extends Enum<KeyboardShortcutManager.Operation>
KeyboardShortcut
.
Operations are always coupled with a parameter which will generally be a jQuery selector or URL. The parameter
can however also be more generic when coupled with the 'execute' operation where a generic javascript function
can be specified as well.Enum Constant and Description |
---|
click
Clicks an element identified by a jQuery selector
|
evaluate
Evaluates javascript on page load.
|
execute
Executes a javascript functions specified by the operation parameter
|
followLink
Sets the window.location to the href value of the link specified by the jQuery selector.
|
goTo
Changes the window.location to go to a specified location
|
moveToAndClick
Scrolls the window to an element and clicks that elment using a jQuery selector
|
moveToAndFocus
Scrolls the window to a specific element and focuses that element using a jQuery selector
|
moveToNextItem
Scrolls to and adds focused class to the next item in the jQuery collection
|
moveToPrevItem
Scrolls to and adds focused class to the previous item in the jQuery collection
|
Modifier and Type | Method and Description |
---|---|
static KeyboardShortcutManager.Operation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyboardShortcutManager.Operation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyboardShortcutManager.Operation click
public static final KeyboardShortcutManager.Operation goTo
public static final KeyboardShortcutManager.Operation followLink
public static final KeyboardShortcutManager.Operation moveToAndFocus
public static final KeyboardShortcutManager.Operation moveToAndClick
public static final KeyboardShortcutManager.Operation moveToNextItem
public static final KeyboardShortcutManager.Operation moveToPrevItem
public static final KeyboardShortcutManager.Operation execute
public static final KeyboardShortcutManager.Operation evaluate
public static KeyboardShortcutManager.Operation[] values()
for (KeyboardShortcutManager.Operation c : KeyboardShortcutManager.Operation.values()) System.out.println(c);
public static KeyboardShortcutManager.Operation valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2002-2019 Atlassian. All Rights Reserved.