Package | Description |
---|---|
com.vaadin.flow.component | |
com.vaadin.flow.component.button | |
com.vaadin.flow.component.grid | |
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.
|
Modifier and Type | Class and Description |
---|---|
class |
ItemClickEvent<T>
Event fired when a Grid item is clicked.
|
class |
ItemDoubleClickEvent<T>
Event fired when a Grid item is double clicked.
|
Constructor and Description |
---|
NativeButton(String text,
ComponentEventListener<ClickEvent<NativeButton>> clickListener)
Creates a button with the given text and click listener.
|
Copyright © 2018. All rights reserved.