Interface JavaClientContextMenuItem
- All Superinterfaces:
Item<ContextMenuContext>
- All Known Subinterfaces:
ExecutableContextMenuItem,GroupingContextMenuItem
- All Known Implementing Classes:
SeparatorContextMenuItem
An item to be used in context menus of the java client.
- Since:
- 5.0.204
-
Method Summary
Modifier and TypeMethodDescription@Nullable IcongetIcon(@NotNull ContextMenuContext context) Returns the icon of this item ornullif this item has no icon.
The recommended dimensions for this icon is19x19@NotNull StringgetLabel(@NotNull ContextMenuContext context) Provides a label for this item wrt. the given context.booleanisEnabled(@NotNull ContextMenuContext context) Indicates, whether this item is enabled wrt. the given context.booleanisVisible(@NotNull ContextMenuContext context) Indicates the visibility of this item wrt. the given context.
-
Method Details