public static final enum

KeyboardShortcutManager.Operation

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.atlassian.jira.plugin.keyboardshortcut.KeyboardShortcutManager.Operation

Class Overview

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.

Summary

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
static KeyboardShortcutManager.Operation valueOf(String name)
final static Operation[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final KeyboardShortcutManager.Operation click

Clicks an element identified by a jQuery selector

public static final KeyboardShortcutManager.Operation evaluate

Evaluates javascript on page load. Execute above will execute the javascript provided when the keyboard shortcut is pressed.

public static final KeyboardShortcutManager.Operation execute

Executes a javascript functions specified by the operation parameter

public static final KeyboardShortcutManager.Operation followLink

Sets the window.location to the href value of the link specified by the jQuery selector.

public static final KeyboardShortcutManager.Operation goTo

Changes the window.location to go to a specified location

public static final KeyboardShortcutManager.Operation moveToAndClick

Scrolls the window to an element and clicks that elment using a jQuery selector

public static final KeyboardShortcutManager.Operation moveToAndFocus

Scrolls the window to a specific element and focuses that element using a jQuery selector

public static final KeyboardShortcutManager.Operation moveToNextItem

Scrolls to and adds focused class to the next item in the jQuery collection

public static final KeyboardShortcutManager.Operation moveToPrevItem

Scrolls to and adds focused class to the previous item in the jQuery collection

Public Methods

public static KeyboardShortcutManager.Operation valueOf (String name)

public static final Operation[] values ()