java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | com.atlassian.jira.plugin.keyboardshortcut.KeyboardShortcutManager.Operation |
Defines the different operations that can be taken using a 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 Values | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
KeyboardShortcutManager.Operation | click | Clicks an element identified by a jQuery selector | |||||||||||||||||||||||||||||||
KeyboardShortcutManager.Operation | evaluate | Evaluates javascript on page load. | |||||||||||||||||||||||||||||||
KeyboardShortcutManager.Operation | execute | Executes a javascript functions specified by the operation parameter | |||||||||||||||||||||||||||||||
KeyboardShortcutManager.Operation | followLink | Sets the window.location to the href value of the link specified by the jQuery selector. | |||||||||||||||||||||||||||||||
KeyboardShortcutManager.Operation | goTo | Changes the window.location to go to a specified location | |||||||||||||||||||||||||||||||
KeyboardShortcutManager.Operation | moveToAndClick | Scrolls the window to an element and clicks that elment using a jQuery selector | |||||||||||||||||||||||||||||||
KeyboardShortcutManager.Operation | moveToAndFocus | Scrolls the window to a specific element and focuses that element using a jQuery selector | |||||||||||||||||||||||||||||||
KeyboardShortcutManager.Operation | moveToNextItem | Scrolls to and adds focused class to the next item in the jQuery collection | |||||||||||||||||||||||||||||||
KeyboardShortcutManager.Operation | moveToPrevItem | Scrolls to and adds focused class to the previous item in the jQuery collection |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||||||||||||||||||||||||
From class java.lang.Object | |||||||||||||||||||||||||||||||||
From interface
java.lang.Comparable
|
Clicks an element identified by a jQuery selector
Evaluates javascript on page load. Execute above will execute the javascript provided when the keyboard shortcut is pressed.
Executes a javascript functions specified by the operation parameter
Sets the window.location to the href value of the link specified by the jQuery selector.
Changes the window.location to go to a specified location
Scrolls the window to an element and clicks that elment using a jQuery selector
Scrolls the window to a specific element and focuses that element using a jQuery selector
Scrolls to and adds focused class to the next item in the jQuery collection
Scrolls to and adds focused class to the previous item in the jQuery collection