Package | Description |
---|---|
com.vaadin.flow.component | |
com.vaadin.flow.component.button | |
com.vaadin.flow.component.contextmenu | |
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 | Method and Description |
---|---|
I |
MenuManager.addItem(Component component,
ComponentEventListener<ClickEvent<I>> clickListener)
Adds a component as a menu item with a click listener.
|
MenuItem |
SubMenu.addItem(Component component,
ComponentEventListener<ClickEvent<MenuItem>> clickListener) |
MenuItem |
HasMenuItems.addItem(Component component,
ComponentEventListener<ClickEvent<MenuItem>> clickListener)
Adds a new item component with the given component and click listener to
the context menu overlay.
|
MenuItem |
ContextMenu.addItem(Component component,
ComponentEventListener<ClickEvent<MenuItem>> clickListener) |
I |
MenuManager.addItem(String text,
ComponentEventListener<ClickEvent<I>> clickListener)
Adds a text as a menu item with a click listener.
|
MenuItem |
SubMenu.addItem(String text,
ComponentEventListener<ClickEvent<MenuItem>> clickListener) |
MenuItem |
HasMenuItems.addItem(String text,
ComponentEventListener<ClickEvent<MenuItem>> clickListener)
Adds a new item component with the given text content and click listener
to the context menu overlay.
|
MenuItem |
ContextMenu.addItem(String text,
ComponentEventListener<ClickEvent<MenuItem>> clickListener) |
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 © 2019. All rights reserved.