public static enum LayoutlibCallback.ViewAttribute extends java.lang.Enum<LayoutlibCallback.ViewAttribute>
| Enum Constant and Description |
|---|
COLOR |
IS_CHECKED |
SRC |
TEXT |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<?> |
getAttributeClass() |
static LayoutlibCallback.ViewAttribute |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LayoutlibCallback.ViewAttribute[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LayoutlibCallback.ViewAttribute TEXT
public static final LayoutlibCallback.ViewAttribute IS_CHECKED
public static final LayoutlibCallback.ViewAttribute SRC
public static final LayoutlibCallback.ViewAttribute COLOR
public static LayoutlibCallback.ViewAttribute[] values()
for (LayoutlibCallback.ViewAttribute c : LayoutlibCallback.ViewAttribute.values()) System.out.println(c);
public static LayoutlibCallback.ViewAttribute valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.Class<?> getAttributeClass()