public enum PadSide extends Enum<PadSide>
Modifier and Type | Method and Description |
---|---|
static PadSide |
fromNative(int nativeId) |
int |
getNativeId() |
static PadSide |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PadSide[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PadSide LEFT
public static final PadSide RIGHT
public static final PadSide BOTH
public static PadSide[] values()
for (PadSide c : PadSide.values()) System.out.println(c);
public static PadSide 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 int getNativeId()
public static PadSide fromNative(int nativeId)
Copyright © 2024. All rights reserved.