Package de.presti.ree6.commands
Enum Class Category
- All Implemented Interfaces:
Serializable
,Comparable<Category>
,Constable
Different Categories for the commands.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionCategory used for community Commands.Category used for economy Commands.Category used for fun Commands.Category used for admin Commands.Category used for informativ Commands.Category used for level Commands.Category used for moderativ Commands.Category used for music Commands.Category used for NSFW Commands. -
Method Summary
Modifier and TypeMethodDescriptionShort description of the Category.getIcon()
The Icon Name for the Category.long
The Icon ID for the Category.boolean
The Information if the Icon is animated.static Category
Returns the enum constant of this class with the specified name.static Category[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INFO
Category used for informativ Commands. -
MOD
Category used for moderativ Commands. -
MUSIC
Category used for music Commands. -
FUN
Category used for fun Commands. -
LEVEL
Category used for level Commands. -
COMMUNITY
Category used for community Commands. -
ECONOMY
Category used for economy Commands. -
NSFW
Category used for NSFW Commands. -
HIDDEN
Category used for admin Commands.
-
-
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
-
getIcon
The Icon Name for the Category.- Returns:
- the Name.
-
getIconId
public long getIconId()The Icon ID for the Category.- Returns:
- the Icon ID.
-
isIconAnimated
public boolean isIconAnimated()The Information if the Icon is animated.- Returns:
- true, if yes | false, if not.
-
getDescription
Short description of the Category.- Returns:
- the short description.
-