Enum Class Pane.Priority
- All Implemented Interfaces:
Serializable,Comparable<Pane.Priority>,Constable
- Enclosing class:
Pane
An enum representing the rendering priorities for the panes. Uses a similar system to Bukkit's
EventPriority system-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA higher priority, higher than defaultThe highest priority for production useA low priority, lower than defaultThe lowest priority, will be rendered firstThe highest priority, will always be called last, should not be used for production codeA normal priority, the default -
Method Summary
Modifier and TypeMethodDescriptionstatic Pane.PriorityReturns the enum constant of this class with the specified name.static Pane.Priority[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LOWEST
The lowest priority, will be rendered first -
LOW
A low priority, lower than default -
NORMAL
A normal priority, the default -
HIGH
A higher priority, higher than default -
HIGHEST
The highest priority for production use -
MONITOR
The highest priority, will always be called last, should not be used for production code
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-