public enum PadDirection extends java.lang.Enum<PadDirection>
Pad
.Enum Constant and Description |
---|
SINK
The
Pad is a sink pad. |
SRC
The
Pad is a source pad. |
UNKNOWN
The direction is unknown.
|
Modifier and Type | Method and Description |
---|---|
static PadDirection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PadDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PadDirection UNKNOWN
public static final PadDirection SRC
Pad
is a source pad.public static final PadDirection SINK
Pad
is a sink pad.public static PadDirection[] values()
for (PadDirection c : PadDirection.values()) System.out.println(c);
public static PadDirection valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null