Package com.marcusslover.plus.lib.item
Interface Canvas.ButtonDrag
- All Known Subinterfaces:
Canvas.GenericDrag
- Enclosing class:
Canvas
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A button drag. This is called when a player drags on the button.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidonDrag(@NotNull Canvas.ButtonDrag.ButtonDragContext ctx) Called when a player drags on the button.
-
Method Details
-
onDrag
Called when a player drags on the button.- Parameters:
ctx- the context of the drag
-