| Package | Description |
|---|---|
| com.vaadin.ui | |
| com.vaadin.ui.components.grid | |
| com.vaadin.ui.renderers |
| Modifier and Type | Class and Description |
|---|---|
class |
TreeGrid<T>
A grid component for displaying hierarchical tabular data.
|
| Modifier and Type | Method and Description |
|---|---|
Grid<T> |
Grid.GridContextClickEvent.getComponent() |
protected Grid<T> |
Grid.Column.getGrid()
Gets the grid that this column belongs to.
|
Grid<T> |
Grid.AbstractGridExtension.getParent() |
Grid<T> |
Grid.DetailsManager.getParent() |
Grid<T> |
Grid.ItemClick.getSource()
Returns the source Grid.
|
static <BEAN> Grid<BEAN> |
Grid.withPropertySet(PropertySet<BEAN> propertySet)
Creates a grid using a custom
PropertySet implementation for
creating a default set of columns and for resolving property names with
addColumn(String) and
Grid.Column.setEditorComponent(HasValue). |
| Constructor and Description |
|---|
ColumnReorderEvent(Grid source,
boolean userOriginated) |
ColumnResizeEvent(Grid<?> source,
Grid.Column<?,?> column,
boolean userOriginated) |
ColumnVisibilityChangeEvent(Grid<?> source,
Grid.Column<?,?> column,
boolean hidden,
boolean isUserOriginated)
Constructor for a column visibility change event.
|
GridContextClickEvent(Grid<T> source,
MouseEventDetails mouseEventDetails,
GridConstants.Section section,
int rowIndex,
T item,
Grid.Column<T,?> column)
Creates a new context click event.
|
ItemClick(Grid<T> source,
Grid.Column<T,?> column,
T item,
MouseEventDetails mouseEventDetails,
int rowIndex)
Creates a new
ItemClick event containing the given item and
Column originating from the given Grid. |
| Modifier and Type | Method and Description |
|---|---|
Grid<T> |
GridDragSource.getGrid()
Gets the grid this extension has been attached to.
|
Grid<T> |
EditorCancelEvent.getGrid()
Gets the editors' grid.
|
protected abstract Grid<?> |
StaticSection.getGrid() |
Grid<T> |
GridDropTarget.getGrid()
Gets the grid this extension has been attached to.
|
Grid<T> |
Editor.getGrid()
Gets the Grid instance which this editor belongs to.
|
Grid<T> |
EditorOpenEvent.getGrid()
Gets the editors' grid.
|
Grid<T> |
EditorImpl.getGrid() |
Grid<T> |
EditorSaveEvent.getGrid()
Gets the editors' grid.
|
protected Grid<T> |
AbstractSelectionModel.getGrid()
Returns the grid this selection model is attached to using, or throws
IllegalStateException if not attached to any selection model. |
| Constructor and Description |
|---|
GridDragEndEvent(Grid<T> source,
DropEffect dropEffect,
List<T> draggedItems)
Creates a drag end event.
|
GridDragSource(Grid<T> target)
Extends a Grid and makes it's rows draggable.
|
GridDragStartEvent(Grid<T> source,
EffectAllowed effectAllowed,
List<T> draggedItems)
Creates a drag start event.
|
GridDropEvent(Grid<T> target,
Map<String,String> data,
DropEffect dropEffect,
DragSourceExtension<? extends AbstractComponent> dragSourceExtension,
T dropTargetRow,
DropLocation dropLocation,
MouseEventDetails mouseEventDetails)
Creates a Grid row drop event.
|
GridDropTarget(Grid<T> target,
DropMode dropMode)
Extends a Grid and makes it's rows drop targets for HTML5 drag and drop.
|
GridRowDragger(Grid<T> grid)
Enables DnD reordering for the rows in the given grid.
|
GridRowDragger(Grid<T> grid,
DropMode dropMode)
Enables DnD reordering the rows in the given grid with the given drop
mode.
|
GridRowDragger(Grid<T> source,
Grid<T> target)
Enables DnD moving of rows from the source grid to the target grid.
|
GridRowDragger(Grid<T> source,
Grid<T> target)
Enables DnD moving of rows from the source grid to the target grid.
|
GridRowDragger(Grid<T> source,
Grid<T> target,
DropMode dropMode)
Enables DnD moving of rows from the source grid to the target grid with
the given drop mode.
|
GridRowDragger(Grid<T> source,
Grid<T> target,
DropMode dropMode)
Enables DnD moving of rows from the source grid to the target grid with
the given drop mode.
|
GridRowDragger(Grid<T> source,
Grid<T> target,
TargetDataProviderUpdater<T> targetDataProviderUpdater,
SourceDataProviderUpdater<T> sourceDataProviderUpdater)
Enables DnD moving of rows from the source grid to the target grid with
the custom data provider updaters.
|
GridRowDragger(Grid<T> source,
Grid<T> target,
TargetDataProviderUpdater<T> targetDataProviderUpdater,
SourceDataProviderUpdater<T> sourceDataProviderUpdater)
Enables DnD moving of rows from the source grid to the target grid with
the custom data provider updaters.
|
| Modifier and Type | Method and Description |
|---|---|
protected Grid<T> |
AbstractRenderer.getParentGrid()
Gets the
Grid this renderer is attached to. |
| Constructor and Description |
|---|
RendererClickEvent(Grid<T> source,
T item,
Grid.Column<T,?> column,
MouseEventDetails mouseEventDetails) |
Copyright © 2018 Vaadin Ltd. All rights reserved.