Package com.vaadin.ui
Interface Button.ClickListener
-
- All Superinterfaces:
EventListener,Serializable,SerializableEventListener
- Enclosing class:
- Button
- 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 aButton.ClickEventfired by aComponent.- Since:
- 3.0
- Author:
- Vaadin Ltd.
-
-
Field Summary
Fields Modifier and Type Field Description static MethodBUTTON_CLICK_METHOD
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidbuttonClick(Button.ClickEvent event)Called when aButtonhas been clicked.
-
-
-
Field Detail
-
BUTTON_CLICK_METHOD
static final Method BUTTON_CLICK_METHOD
-
-
Method Detail
-
buttonClick
void buttonClick(Button.ClickEvent event)
Called when aButtonhas been clicked. A reference to the button is given byButton.ClickEvent.getButton().- Parameters:
event- An event containing information about the click.
-
-