| Package | Description |
|---|---|
| com.vaadin.flow.component.grid | |
| com.vaadin.flow.component.grid.contextmenu | |
| com.vaadin.flow.component.grid.editor | |
| com.vaadin.flow.component.treegrid |
| Modifier and Type | Method and Description |
|---|---|
protected Grid<T> |
Grid.AbstractGridExtension.getGrid()
Gets the Grid this extension extends.
|
| Modifier and Type | Method and Description |
|---|---|
com.vaadin.flow.data.selection.MultiSelect<Grid<T>,T> |
Grid.asMultiSelect()
Use this grid as a multiselect in
Binder. |
com.vaadin.flow.data.selection.MultiSelect<Grid<T>,T> |
GridMultiSelectionModel.asMultiSelect()
Gets a wrapper to use this multiselection model as a multiselect in
Binder. |
com.vaadin.flow.data.selection.MultiSelect<Grid<T>,T> |
AbstractGridMultiSelectionModel.asMultiSelect() |
com.vaadin.flow.data.selection.SingleSelect<Grid<T>,T> |
Grid.asSingleSelect()
Use this grid as a single select in
Binder. |
com.vaadin.flow.data.selection.SingleSelect<Grid<T>,T> |
GridSingleSelectionModel.asSingleSelect()
Gets a wrapper to use this single selection model as a single select in
Binder. |
com.vaadin.flow.data.selection.SingleSelect<Grid<T>,T> |
AbstractGridSingleSelectionModel.asSingleSelect() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract <T> GridSelectionModel<T> |
Grid.SelectionMode.createModel(Grid<T> grid)
Creates the selection model to use with this enum.
|
protected void |
Grid.AbstractGridExtension.extend(Grid<T> grid)
Adds this extension to the given grid.
|
| Modifier and Type | Method and Description |
|---|---|
com.vaadin.flow.shared.Registration |
GridMultiSelectionModel.addMultiSelectionListener(com.vaadin.flow.data.selection.MultiSelectionListener<Grid<T>,T> listener)
Adds a selection listener that will be called when the selection is
changed either by the user or programmatically.
|
com.vaadin.flow.shared.Registration |
AbstractGridMultiSelectionModel.addMultiSelectionListener(com.vaadin.flow.data.selection.MultiSelectionListener<Grid<T>,T> listener) |
com.vaadin.flow.shared.Registration |
GridNoneSelectionModel.addSelectionListener(com.vaadin.flow.data.selection.SelectionListener<Grid<T>,T> listener) |
com.vaadin.flow.shared.Registration |
Grid.addSelectionListener(com.vaadin.flow.data.selection.SelectionListener<Grid<T>,T> listener)
Adds a selection listener to the current selection model.
|
com.vaadin.flow.shared.Registration |
AbstractGridMultiSelectionModel.addSelectionListener(com.vaadin.flow.data.selection.SelectionListener<Grid<T>,T> listener) |
com.vaadin.flow.shared.Registration |
AbstractGridSingleSelectionModel.addSelectionListener(com.vaadin.flow.data.selection.SelectionListener<Grid<T>,T> listener) |
com.vaadin.flow.shared.Registration |
GridSingleSelectionModel.addSingleSelectionListener(com.vaadin.flow.data.selection.SingleSelectionListener<Grid<T>,T> listener)
Adds a selection listener that will be called when the selection is
changed either by the user or programmatically.
|
com.vaadin.flow.shared.Registration |
AbstractGridSingleSelectionModel.addSingleSelectionListener(com.vaadin.flow.data.selection.SingleSelectionListener<Grid<T>,T> listener) |
com.vaadin.flow.shared.Registration |
Grid.addSortListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.data.event.SortEvent<Grid<T>,GridSortOrder<T>>> listener) |
protected abstract void |
AbstractGridMultiSelectionModel.fireSelectionEvent(com.vaadin.flow.data.selection.SelectionEvent<Grid<T>,T> event)
Method for handling the firing of selection events.
|
protected abstract void |
AbstractGridSingleSelectionModel.fireSelectionEvent(com.vaadin.flow.data.selection.SelectionEvent<Grid<T>,T> event)
Method for handling the firing of selection events.
|
| Constructor and Description |
|---|
AbstractGridExtension(Grid<T> grid)
Constructs a new grid extension, extending the given grid.
|
AbstractGridMultiSelectionModel(Grid<T> grid)
Constructor for passing a reference of the grid to this implementation.
|
AbstractGridSingleSelectionModel(Grid<T> grid)
Constructor for passing a reference of the grid to this implementation.
|
Column(Grid<T> grid,
String columnId,
com.vaadin.flow.data.renderer.Renderer<T> renderer)
Constructs a new Column for use inside a Grid.
|
ItemClickEvent(Grid<T> source,
boolean fromClient,
String itemKey,
int screenX,
int screenY,
int clientX,
int clientY,
int clickCount,
int button,
boolean ctrlKey,
boolean shiftKey,
boolean altKey,
boolean metaKey)
Creates a new item click event.
|
ItemDoubleClickEvent(Grid<T> source,
boolean fromClient,
String itemKey,
int screenX,
int screenY,
int clientX,
int clientY,
int clickCount,
int button,
boolean ctrlKey,
boolean shiftKey,
boolean altKey,
boolean metaKey)
Creates a new item double click event.
|
| Modifier and Type | Method and Description |
|---|---|
Grid<T> |
GridContextMenu.GridContextMenuItemClickEvent.getGrid()
Gets the Grid that the context menu is connected to.
|
| Constructor and Description |
|---|
GridContextMenu(Grid<T> target)
Creates an empty context menu with the given target component.
|
| Modifier and Type | Method and Description |
|---|---|
Grid<T> |
Editor.getGrid()
Gets the Grid instance which this editor belongs to.
|
Grid<T> |
EditorImpl.getGrid() |
Grid<T> |
EditorEvent.getGrid()
Gets the editors' grid.
|
| Constructor and Description |
|---|
EditorImpl(Grid<T> grid,
com.vaadin.flow.data.binder.PropertySet<T> propertySet) |
| Modifier and Type | Class and Description |
|---|---|
class |
TreeGrid<T>
A grid component for displaying hierarchical tabular data.
|
Copyright © 2019. All rights reserved.