Package com.airbnb.lottie.model
Enum DocumentData.Justification
- java.lang.Object
-
- java.lang.Enum<DocumentData.Justification>
-
- com.airbnb.lottie.model.DocumentData.Justification
-
- All Implemented Interfaces:
Serializable,Comparable<DocumentData.Justification>
- Enclosing class:
- DocumentData
public static enum DocumentData.Justification extends Enum<DocumentData.Justification>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CENTERLEFT_ALIGNRIGHT_ALIGN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DocumentData.JustificationvalueOf(String name)Returns the enum constant of this type with the specified name.static DocumentData.Justification[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LEFT_ALIGN
public static final DocumentData.Justification LEFT_ALIGN
-
RIGHT_ALIGN
public static final DocumentData.Justification RIGHT_ALIGN
-
CENTER
public static final DocumentData.Justification CENTER
-
-
Method Detail
-
values
public static DocumentData.Justification[] 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 (DocumentData.Justification c : DocumentData.Justification.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DocumentData.Justification 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
-
-