net.thucydides.core.screenshots
Enum BlurLevel
java.lang.Object
java.lang.Enum<BlurLevel>
net.thucydides.core.screenshots.BlurLevel
- All Implemented Interfaces:
- Serializable, Comparable<BlurLevel>
public enum BlurLevel
- extends Enum<BlurLevel>
Created with IntelliJ IDEA.
User: rahuljai
Date: 28/12/12
Time: 7:07 PM
To change this template use File | Settings | File Templates.
|
Method Summary |
int |
getRadius()
|
static BlurLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static BlurLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
NONE
public static final BlurLevel NONE
LIGHT
public static final BlurLevel LIGHT
MEDIUM
public static final BlurLevel MEDIUM
HEAVY
public static final BlurLevel HEAVY
values
public static BlurLevel[] 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 (BlurLevel c : BlurLevel.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static BlurLevel 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
getRadius
public int getRadius()
Copyright © 2011-2013 Wakaleo Consulting. All Rights Reserved.