Interface Action
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
ValidatingAction
,WMessagesValidatingAction
- 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 Action extends Serializable
WComponents that trigger a form submit can be given an Action which will be executed as part of the submit. The submit first causes the entire WComponent tree to be updated via their handleRequest methods. Next, the action will be executed using the WComponent invokeLater concept.- Since:
- 1.0.0
- Author:
- Martin Shevchenko
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
execute(ActionEvent event)
This method is invoked when an action occurs.
-
-
-
Method Detail
-
execute
void execute(ActionEvent event)
This method is invoked when an action occurs.- Parameters:
event
- details about the event that occured.
-
-