public static enum ShapeLoadingView.Shape extends Enum<ShapeLoadingView.Shape>
| 枚举常量和说明 |
|---|
SHAPE_CIRCLE |
SHAPE_RECT |
SHAPE_TRIANGLE |
public static final ShapeLoadingView.Shape SHAPE_TRIANGLE
public static final ShapeLoadingView.Shape SHAPE_RECT
public static final ShapeLoadingView.Shape SHAPE_CIRCLE
public static ShapeLoadingView.Shape[] values()
for (ShapeLoadingView.Shape c : ShapeLoadingView.Shape.values()) System.out.println(c);
public static ShapeLoadingView.Shape valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值