com.atlassian.jira.webtest.framework.core.ui
Enum Shortcuts

java.lang.Object
  extended by java.lang.Enum<Shortcuts>
      extended by com.atlassian.jira.webtest.framework.core.ui.Shortcuts
All Implemented Interfaces:
com.atlassian.webtest.ui.keys.KeyEventAware, com.atlassian.webtest.ui.keys.KeySequence, com.atlassian.webtest.ui.keys.TypeModeAware, Serializable, Comparable<Shortcuts>

public enum Shortcuts
extends Enum<Shortcuts>
implements com.atlassian.webtest.ui.keys.KeySequence, com.atlassian.webtest.ui.keys.TypeModeAware, com.atlassian.webtest.ui.keys.KeyEventAware

Enumeration of common JIRA shortcuts.

Since:
v4.3

Enum Constant Summary
ASSIGN
           
COMMENT
           
CREATE
           
DOT_DIALOG
           
EDIT
           
GLOBAL_CONTEXT_SHORTCUT
           
GO_TO_DASHBOARD
           
GO_TO_NAVIGATOR
           
GO_TO_PROJECT
           
ISSUE_ACTION_SHORTCUT
           
ISSUE_NAVIGATION_SHORTCUT
           
J_NEXT
           
K_PREVIOUS
           
LABEL
           
SHORTCUTS_HELP
           
UP
           
 
Method Summary
 Set<com.atlassian.webtest.ui.keys.KeyEventType> keyEvents()
           
 List<com.atlassian.webtest.ui.keys.Key> keys()
           
 com.atlassian.webtest.ui.keys.TypeMode typeMode()
           
static Shortcuts valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Shortcuts[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 Set<com.atlassian.webtest.ui.keys.ModifierKey> withPressed()
           
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ASSIGN

public static final Shortcuts ASSIGN

CREATE

public static final Shortcuts CREATE

COMMENT

public static final Shortcuts COMMENT

LABEL

public static final Shortcuts LABEL

EDIT

public static final Shortcuts EDIT

J_NEXT

public static final Shortcuts J_NEXT

K_PREVIOUS

public static final Shortcuts K_PREVIOUS

UP

public static final Shortcuts UP

DOT_DIALOG

public static final Shortcuts DOT_DIALOG

SHORTCUTS_HELP

public static final Shortcuts SHORTCUTS_HELP

GO_TO_DASHBOARD

public static final Shortcuts GO_TO_DASHBOARD

GO_TO_NAVIGATOR

public static final Shortcuts GO_TO_NAVIGATOR

GO_TO_PROJECT

public static final Shortcuts GO_TO_PROJECT

GLOBAL_CONTEXT_SHORTCUT

public static final Shortcuts GLOBAL_CONTEXT_SHORTCUT

ISSUE_NAVIGATION_SHORTCUT

public static final Shortcuts ISSUE_NAVIGATION_SHORTCUT

ISSUE_ACTION_SHORTCUT

public static final Shortcuts ISSUE_ACTION_SHORTCUT
Method Detail

values

public static Shortcuts[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Shortcuts c : Shortcuts.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Shortcuts valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

keys

public List<com.atlassian.webtest.ui.keys.Key> keys()
Specified by:
keys in interface com.atlassian.webtest.ui.keys.KeySequence

withPressed

public Set<com.atlassian.webtest.ui.keys.ModifierKey> withPressed()
Specified by:
withPressed in interface com.atlassian.webtest.ui.keys.KeySequence

keyEvents

public Set<com.atlassian.webtest.ui.keys.KeyEventType> keyEvents()
Specified by:
keyEvents in interface com.atlassian.webtest.ui.keys.KeyEventAware

typeMode

public com.atlassian.webtest.ui.keys.TypeMode typeMode()
Specified by:
typeMode in interface com.atlassian.webtest.ui.keys.TypeModeAware


Copyright © 2002-2013 Atlassian. All Rights Reserved.