Package org.robolectric.shadows
Enum ShadowPath.Point.Type
- java.lang.Object
-
- java.lang.Enum<ShadowPath.Point.Type>
-
- org.robolectric.shadows.ShadowPath.Point.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<ShadowPath.Point.Type>
- Enclosing class:
- ShadowPath.Point
public static enum ShadowPath.Point.Type extends Enum<ShadowPath.Point.Type>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ShadowPath.Point.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static ShadowPath.Point.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MOVE_TO
public static final ShadowPath.Point.Type MOVE_TO
-
LINE_TO
public static final ShadowPath.Point.Type LINE_TO
-
-
Method Detail
-
values
public static ShadowPath.Point.Type[] 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 (ShadowPath.Point.Type c : ShadowPath.Point.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ShadowPath.Point.Type 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 nameNullPointerException
- if the argument is null
-
-