| Package | Description |
|---|---|
| com.vaadin.flow.component | |
| com.vaadin.flow.component.button | |
| com.vaadin.flow.component.html |
| Modifier and Type | Method and Description |
|---|---|
default Registration |
ClickNotifier.addClickListener(ComponentEventListener<ClickEvent<T>> listener)
Adds a click listener to this component.
|
| Constructor and Description |
|---|
Button(Component icon,
ComponentEventListener<ClickEvent<Button>> clickListener)
Creates a button with an icon and a listener for click events.
|
Button(String text,
Component icon,
ComponentEventListener<ClickEvent<Button>> clickListener)
Create a button with a text, an icon and a listener for click events.
|
Button(String text,
ComponentEventListener<ClickEvent<Button>> clickListener)
Creates a button with a text and a listener for click events.
|
| Constructor and Description |
|---|
NativeButton(String text,
ComponentEventListener<ClickEvent<NativeButton>> clickListener)
Creates a button with the given text and click listener.
|
Copyright © 2019. All rights reserved.