Enum Pane.Priority
- All Implemented Interfaces:
- Serializable,- Comparable<Pane.Priority>,- java.lang.constant.Constable
- Enclosing class:
- Pane
An enum representing the rendering priorities for the panes. Uses a similar system to Bukkit's
 
EventPriority system- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum 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 SummaryModifier and TypeMethodDescriptionbooleanisGreaterThan(@NotNull Pane.Priority priority) Whether this priority is greater than the priority specified.abstract booleanisLessThan(@NotNull Pane.Priority priority) Whether this priority is less than the priority specified.static Pane.PriorityReturns the enum constant of this type with the specified name.static Pane.Priority[]values()Returns an array containing the constants of this enum type, in the order they are declared.
- 
Enum Constant Details- 
LOWESTThe lowest priority, will be rendered first
- 
LOWA low priority, lower than default
- 
NORMALA normal priority, the default
- 
HIGHA higher priority, higher than default
- 
HIGHESTThe highest priority for production use
- 
MONITORThe highest priority, will always be called last, should not be used for production code
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
 
- 
valueOfReturns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
isLessThanWhether this priority is less than the priority specified.- Parameters:
- priority- the priority to compare against
- Returns:
- true if this priority is less than the specified priority, false otherwise
- Since:
- 0.8.0
 
- 
isGreaterThanWhether this priority is greater than the priority specified.- Parameters:
- priority- the priority to compare against
- Returns:
- true if this priority is greater than the specified priority, false otherwise
- Since:
- 0.8.0
 
 
-