Package com.shixing.sxedit
Enum SXTextTrack.SXTextAlignmentType
- java.lang.Object
-
- java.lang.Enum<SXTextTrack.SXTextAlignmentType>
-
- com.shixing.sxedit.SXTextTrack.SXTextAlignmentType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SXTextTrack.SXTextAlignmentType>
- Enclosing class:
- SXTextTrack
public static enum SXTextTrack.SXTextAlignmentType extends java.lang.Enum<SXTextTrack.SXTextAlignmentType>
文字对齐方式
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SXTextTrack.SXTextAlignmentType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SXTextTrack.SXTextAlignmentType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Left
public static final SXTextTrack.SXTextAlignmentType Left
左对齐
-
Right
public static final SXTextTrack.SXTextAlignmentType Right
右对齐
-
Center
public static final SXTextTrack.SXTextAlignmentType Center
居中对齐
-
-
Method Detail
-
values
public static SXTextTrack.SXTextAlignmentType[] 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 (SXTextTrack.SXTextAlignmentType c : SXTextTrack.SXTextAlignmentType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SXTextTrack.SXTextAlignmentType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-