Package com.shixing.sxedit.types
Enum SXResourceType
- java.lang.Object
-
- java.lang.Enum<SXResourceType>
-
- com.shixing.sxedit.types.SXResourceType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SXResourceType>
public enum SXResourceType extends java.lang.Enum<SXResourceType>
素材类型
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Animation
视频动画模板包AudioFile
音频Composite
合成Filter
滤镜模板包MediaFile
视频Sticker
贴纸模板包TextAnimation
文字动画模板包TextBubble
文字气泡模板包TextStyle
文字样式模板包Texture
纹理TrackAnimation
轨道动画模板包Transition
转场模板包Unknown
未知VideoEffect
视频特效模板包
-
Field Summary
Fields Modifier and Type Field Description int
value
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SXResourceType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SXResourceType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Unknown
public static final SXResourceType Unknown
未知
-
Texture
public static final SXResourceType Texture
纹理
-
Composite
public static final SXResourceType Composite
合成
-
AudioFile
public static final SXResourceType AudioFile
音频
-
MediaFile
public static final SXResourceType MediaFile
视频
-
Sticker
public static final SXResourceType Sticker
贴纸模板包
-
TextStyle
public static final SXResourceType TextStyle
文字样式模板包
-
TextBubble
public static final SXResourceType TextBubble
文字气泡模板包
-
TextAnimation
public static final SXResourceType TextAnimation
文字动画模板包
-
Filter
public static final SXResourceType Filter
滤镜模板包
-
Transition
public static final SXResourceType Transition
转场模板包
-
Animation
public static final SXResourceType Animation
视频动画模板包
-
VideoEffect
public static final SXResourceType VideoEffect
视频特效模板包
-
TrackAnimation
public static final SXResourceType TrackAnimation
轨道动画模板包
-
-
Method Detail
-
values
public static SXResourceType[] 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 (SXResourceType c : SXResourceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SXResourceType 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
-
-