We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.ui.
Interface Button.ClickListener
-
All Superinterfaces:
Enclosing class:
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 static interface Button.ClickListener extends SerializableEventListener
Interface for listening for a
Button.ClickEvent
fired by aComponent
.Since:
3.0
Author:
Vaadin Ltd.
-
-
Field Summary
Fields Modifier and Type Field Description static Method
BUTTON_CLICK_METHOD
-
Method Summary
All Methods Modifier and Type Method Description void
buttonClick(Button.ClickEvent event)
Called when a
Button
has been clicked.
-
-
-
Field Detail
-
BUTTON_CLICK_METHOD
static final Method BUTTON_CLICK_METHOD
-
-
Method Detail
-
buttonClick
void buttonClick(Button.ClickEvent event)
Called when a
Button
has been clicked. A reference to the button is given byButton.ClickEvent.getButton()
.Parameters:
event
- An event containing information about the click.
-
-