Interface ButtonClickListener
-
- All Superinterfaces:
GloballyAttachableListener,MessageAttachableListener,ObjectAttachableListener,PrivateChannelAttachableListener,ServerAttachableListener,ServerTextChannelAttachableListener,TextChannelAttachableListener,UserAttachableListener
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ButtonClickListener extends ServerAttachableListener, UserAttachableListener, TextChannelAttachableListener, MessageAttachableListener, GloballyAttachableListener, ObjectAttachableListener
This listener listens to button clicks.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonButtonClick(ButtonClickEvent event)This method is called every time a button is clicked.
-
-
-
Method Detail
-
onButtonClick
void onButtonClick(ButtonClickEvent event)
This method is called every time a button is clicked.- Parameters:
event- The event.
-
-