Enum Class Style.Merge
- All Implemented Interfaces:
Serializable, Comparable<Style.Merge>, Constable
- Enclosing interface:
Style
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionMergesStyle.color().MergesStyle.decorations().MergesStyle.clickEvent()andStyle.hoverEvent().MergesStyle.font().MergesStyle.insertion().MergesStyleGetter.shadowColor(). -
Method Summary
Modifier and TypeMethodDescriptionstatic @Unmodifiable Set<Style.Merge> all()Gets a merge set of all merge types.static @Unmodifiable Set<Style.Merge> Gets a merge set containingCOLORandDECORATIONS.static @Unmodifiable Set<Style.Merge> merges(Style.Merge... merges) Creates a merge set.static Style.MergeReturns the enum constant of this class with the specified name.static Style.Merge[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
COLOR
-
SHADOW_COLOR
-
DECORATIONS
-
EVENTS
MergesStyle.clickEvent()andStyle.hoverEvent().- Since:
- 4.0.0
-
INSERTION
-
FONT
-
-
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
-
all
Gets a merge set of all merge types.- Returns:
- a merge set
- Since:
- 4.0.0
-
colorAndDecorations
Gets a merge set containingCOLORandDECORATIONS.- Returns:
- a merge set
- Since:
- 4.0.0
-
merges
Creates a merge set.- Parameters:
merges- the merge parts- Returns:
- a merge set
- Since:
- 4.10.0
-