Interface CommandAction
- All Superinterfaces:
EventListener
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Invoked when a command is activated.
-
Method Details
-
commandActivated
Invoked when a command is activated.- Parameters:
e
- Command action event. UseCommandActionEvent.getCommand()
to work with the original command, andCommandActionEvent.getButtonSource()
to get the specific projected button.
-