Enum Class SeparatorContextMenuItem
java.lang.Object
java.lang.Enum<SeparatorContextMenuItem>
de.espirit.firstspirit.client.plugin.contextmenu.SeparatorContextMenuItem
- All Implemented Interfaces:
JavaClientContextMenuItem
,Item<ContextMenuContext>
,Serializable
,Comparable<SeparatorContextMenuItem>
,Constable
public enum SeparatorContextMenuItem
extends Enum<SeparatorContextMenuItem>
implements JavaClientContextMenuItem
An item used as separator in java client context menus.
Use
INSTANCE
as sub item
to add a separator
to the menu.- Since:
- 5.0.204
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionSingleton instance to be used to represent a separator in java client menus. -
Method Summary
Modifier and TypeMethodDescriptionfinal Icon
getIcon
(@NotNull ContextMenuContext context) Noop.final @NotNull String
getLabel
(@NotNull ContextMenuContext context) Noop.final boolean
isEnabled
(@NotNull ContextMenuContext context) Noop.final boolean
isVisible
(@NotNull ContextMenuContext context) Noop.static SeparatorContextMenuItem
Returns the enum constant of this class with the specified name.static SeparatorContextMenuItem[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
Singleton instance to be used to represent a separator in java client menus.- Since:
- 5.0.204
-
-
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
-