Package com.vaadin.featurepack.ui
Interface FButton.ClickListener
- All Superinterfaces:
com.vaadin.flow.component.ComponentEventListener<FButton.ClickEvent>,EventListener,Serializable
- Enclosing class:
FButton
- 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 FButton.ClickListener
extends com.vaadin.flow.component.ComponentEventListener<FButton.ClickEvent>
Interface for listening for a
FButton.ClickEvent fired by a
Component.- Author:
- Vaadin Ltd.
-
Method Summary
Modifier and TypeMethodDescriptionvoidbuttonClick(FButton.ClickEvent event) Called when aButtonhas been clicked.default void
-
Method Details
-
onComponentEvent
- Specified by:
onComponentEventin interfacecom.vaadin.flow.component.ComponentEventListener<FButton.ClickEvent>
-
buttonClick
Called when aButtonhas been clicked. A reference to the component is given byMouseEvents.AbstractClickEvent.getComponent().- Parameters:
event- An event containing information about the click.
-