public enum PaddingDurationUnit extends Enum<PaddingDurationUnit>
Enum Constant and Description |
---|
FRAMES
Duration will be specified in number of frames
|
SECONDS
Duration will be specified in seconds
|
Modifier and Type | Method and Description |
---|---|
static PaddingDurationUnit |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static PaddingDurationUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PaddingDurationUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaddingDurationUnit SECONDS
public static final PaddingDurationUnit FRAMES
public static PaddingDurationUnit[] values()
for (PaddingDurationUnit c : PaddingDurationUnit.values()) System.out.println(c);
public static PaddingDurationUnit valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getValue()
public String toString()
toString
in class Enum<PaddingDurationUnit>
public static PaddingDurationUnit fromValue(String text)
Copyright © 2022. All rights reserved.