com.opera.core.systems
Enum OperaAtoms

java.lang.Object
  extended by java.lang.Enum<OperaAtoms>
      extended by com.opera.core.systems.OperaAtoms
All Implemented Interfaces:
Serializable, Comparable<OperaAtoms>

public enum OperaAtoms
extends Enum<OperaAtoms>

The WebDriver atoms are used to ensure consistent behaviour cross-browser.


Enum Constant Summary
CLEAR
           
CLICK
           
EXECUTE_ASYNC_SCRIPT
           
EXECUTE_SCRIPT
           
FIND_ELEMENT
           
FIND_ELEMENTS
           
GET_ATTRIBUTE
           
GET_EFFECTIVE_STYLE
           
GET_FRAME_INDEX
           
GET_LOCATION
           
GET_SIZE
           
GET_TEXT
           
IS_DISPLAYED
           
IS_ENABLED
           
IS_SELECTED
           
SUBMIT
           
 
Method Summary
static String get(String key)
           
 String getValue()
           
 String toString()
           
static OperaAtoms valueOf(String name)
          Returns the enum constant of this type with the specified name.
static OperaAtoms[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CLEAR

public static final OperaAtoms CLEAR

CLICK

public static final OperaAtoms CLICK

EXECUTE_SCRIPT

public static final OperaAtoms EXECUTE_SCRIPT

EXECUTE_ASYNC_SCRIPT

public static final OperaAtoms EXECUTE_ASYNC_SCRIPT

FIND_ELEMENT

public static final OperaAtoms FIND_ELEMENT

FIND_ELEMENTS

public static final OperaAtoms FIND_ELEMENTS

GET_ATTRIBUTE

public static final OperaAtoms GET_ATTRIBUTE

GET_EFFECTIVE_STYLE

public static final OperaAtoms GET_EFFECTIVE_STYLE

GET_LOCATION

public static final OperaAtoms GET_LOCATION

GET_SIZE

public static final OperaAtoms GET_SIZE

GET_TEXT

public static final OperaAtoms GET_TEXT

IS_DISPLAYED

public static final OperaAtoms IS_DISPLAYED

IS_ENABLED

public static final OperaAtoms IS_ENABLED

IS_SELECTED

public static final OperaAtoms IS_SELECTED

SUBMIT

public static final OperaAtoms SUBMIT

GET_FRAME_INDEX

public static final OperaAtoms GET_FRAME_INDEX
Method Detail

values

public static OperaAtoms[] 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 (OperaAtoms c : OperaAtoms.values())
    System.out.println(c);

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

valueOf

public static OperaAtoms 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

getValue

public String getValue()

toString

public String toString()
Overrides:
toString in class Enum<OperaAtoms>

get

public static String get(String key)


Copyright © 2012. All Rights Reserved.