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