Package com.facebook.buck.android.aapt
Enum RDotTxtEntry.CustomDrawableType
- java.lang.Object
-
- java.lang.Enum<RDotTxtEntry.CustomDrawableType>
-
- com.facebook.buck.android.aapt.RDotTxtEntry.CustomDrawableType
-
- All Implemented Interfaces:
Serializable
,Comparable<RDotTxtEntry.CustomDrawableType>
- Enclosing class:
- RDotTxtEntry
public static enum RDotTxtEntry.CustomDrawableType extends Enum<RDotTxtEntry.CustomDrawableType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CUSTOM
GRAYSCALE_IMAGE
NONE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getIdentifier()
Get the string identifier (currently a single character) for the custom drawable type.static RDotTxtEntry.CustomDrawableType
valueOf(String name)
Returns the enum constant of this type with the specified name.static RDotTxtEntry.CustomDrawableType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final RDotTxtEntry.CustomDrawableType NONE
-
CUSTOM
public static final RDotTxtEntry.CustomDrawableType CUSTOM
-
GRAYSCALE_IMAGE
public static final RDotTxtEntry.CustomDrawableType GRAYSCALE_IMAGE
-
-
Method Detail
-
values
public static RDotTxtEntry.CustomDrawableType[] 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 (RDotTxtEntry.CustomDrawableType c : RDotTxtEntry.CustomDrawableType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RDotTxtEntry.CustomDrawableType 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
-
getIdentifier
public String getIdentifier()
Get the string identifier (currently a single character) for the custom drawable type. Used in R.txt files to identify custom drawables.
-
-