Enum ConfigurationManager.GuiIcon
java.lang.Object
java.lang.Enum<ConfigurationManager.GuiIcon>
dev.esophose.playerparticles.manager.ConfigurationManager.GuiIcon
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ConfigurationManager.GuiIcon>
,java.lang.constant.Constable
- Enclosing class:
- ConfigurationManager
public static enum ConfigurationManager.GuiIcon extends java.lang.Enum<ConfigurationManager.GuiIcon>
Used for grabbing/caching configurable GUI Icons from the config.yml
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description BACK
CREATE
EDIT_DATA
EDIT_EFFECT
EDIT_STYLE
GROUPS
NEXT_PAGE
PARTICLES
PRESET_GROUPS
PREVIOUS_PAGE
RESET
-
Method Summary
Modifier and Type Method Description org.bukkit.Material
get()
Gets the Material for this icon from the 'gui-icon.misc' section in the config.yml Tries to get from cache first, otherwise loads itstatic ConfigurationManager.GuiIcon
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ConfigurationManager.GuiIcon[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
Method Details
-
values
Returns 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
-
valueOf
Returns 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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
get
public org.bukkit.Material get()Gets the Material for this icon from the 'gui-icon.misc' section in the config.yml Tries to get from cache first, otherwise loads it- Returns:
- The Material for this Icon
-