Modifier and Type | Class and Description |
---|---|
class |
CrudGrid<E>
A simple grid implementation for Crud that allows searching and sorting
backed by a data provider.
|
Modifier and Type | Method and Description |
---|---|
Grid<E> |
Crud.getGrid()
Gets the grid
|
Modifier and Type | Method and Description |
---|---|
static void |
Crud.addEditColumn(Grid grid)
A helper method to add an edit column to a grid.
|
static void |
Crud.addEditColumn(Grid grid,
CrudI18n crudI18n)
A helper method to add an edit column to a grid.
|
static boolean |
Crud.hasEditColumn(Grid grid)
Checks if an edit column has been added to the Grid using
Crud.addEditColumn(Grid) |
static void |
Crud.removeEditColumn(Grid grid)
Removes the crud edit column from a grid
|
void |
Crud.setGrid(Grid<E> grid)
Sets the grid
|
Constructor and Description |
---|
Crud(Class<E> beanType,
Grid<E> grid,
CrudEditor<E> editor)
Instantiates a new Crud using a custom grid.
|
Modifier and Type | Method and Description |
---|---|
protected Grid<T> |
Grid.AbstractGridExtension.getGrid()
Gets the Grid this extension extends.
|
Modifier and Type | Method and Description |
---|---|
MultiSelect<Grid<T>,T> |
GridMultiSelectionModel.asMultiSelect()
Gets a wrapper to use this multiselection model as a multiselect in
Binder . |
MultiSelect<Grid<T>,T> |
Grid.asMultiSelect()
Use this grid as a multiselect in
Binder . |
MultiSelect<Grid<T>,T> |
AbstractGridMultiSelectionModel.asMultiSelect() |
SingleSelect<Grid<T>,T> |
GridSingleSelectionModel.asSingleSelect()
Gets a wrapper to use this single selection model as a single select in
Binder . |
SingleSelect<Grid<T>,T> |
Grid.asSingleSelect()
Use this grid as a single select in
Binder . |
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 |
---|---|
Registration |
GridMultiSelectionModel.addMultiSelectionListener(MultiSelectionListener<Grid<T>,T> listener)
Adds a selection listener that will be called when the selection is
changed either by the user or programmatically.
|
Registration |
AbstractGridMultiSelectionModel.addMultiSelectionListener(MultiSelectionListener<Grid<T>,T> listener) |
Registration |
GridNoneSelectionModel.addSelectionListener(SelectionListener<Grid<T>,T> listener) |
Registration |
Grid.addSelectionListener(SelectionListener<Grid<T>,T> listener)
Adds a selection listener to the current selection model.
|
Registration |
AbstractGridSingleSelectionModel.addSelectionListener(SelectionListener<Grid<T>,T> listener) |
Registration |
AbstractGridMultiSelectionModel.addSelectionListener(SelectionListener<Grid<T>,T> listener) |
Registration |
GridSingleSelectionModel.addSingleSelectionListener(SingleSelectionListener<Grid<T>,T> listener)
Adds a selection listener that will be called when the selection is
changed either by the user or programmatically.
|
Registration |
AbstractGridSingleSelectionModel.addSingleSelectionListener(SingleSelectionListener<Grid<T>,T> listener) |
Registration |
Grid.addSortListener(ComponentEventListener<SortEvent<Grid<T>,GridSortOrder<T>>> listener) |
protected abstract void |
AbstractGridSingleSelectionModel.fireSelectionEvent(SelectionEvent<Grid<T>,T> event)
Method for handling the firing of selection events.
|
protected abstract void |
AbstractGridMultiSelectionModel.fireSelectionEvent(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.
|
CellFocusEvent(Grid<T> source,
boolean fromClient,
String itemKey,
String internalColumnId,
String sectionName)
Creates a new cell focus event.
|
Column(Grid<T> grid,
String columnId,
Renderer<T> renderer)
Constructs a new Column for use inside a Grid.
|
ColumnReorderEvent(Grid<T> source,
boolean fromClient,
elemental.json.JsonArray columnIDs)
Creates a new column reorder event.
|
ColumnReorderEvent(Grid<T> source,
boolean fromClient,
List<Grid.Column<T>> columns)
Creates a new column reorder event.
|
ColumnResizeEvent(Grid<T> source,
boolean fromClient,
String resizedColumnKey)
Creates a new column resize event.
|
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)
Deprecated.
Please use the constructor with an extra parameter
internalColumnId |
ItemClickEvent(Grid<T> source,
boolean fromClient,
String itemKey,
String internalColumnId,
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)
Deprecated.
Please use the constructor with an additional parameter
internalColumnId . |
ItemDoubleClickEvent(Grid<T> source,
boolean fromClient,
String itemKey,
String internalColumnId,
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.
|
Constructor and Description |
---|
GridDragEndEvent(Grid<T> source,
boolean fromClient)
Creates a grid drag end event.
|
GridDragStartEvent(Grid<T> source,
boolean fromClient,
elemental.json.JsonObject details)
Creates a grid drag start event.
|
GridDropEvent(Grid<T> source,
boolean fromClient,
elemental.json.JsonObject item,
String dropLocation,
elemental.json.JsonArray dragData)
Creates a grid drop event.
|
Modifier and Type | Method and Description |
---|---|
Grid<T> |
EditorImpl.getGrid() |
Grid<T> |
EditorEvent.getGrid()
Gets the editors' grid.
|
Grid<T> |
Editor.getGrid()
Gets the Grid instance which this editor belongs to.
|
Constructor and Description |
---|
EditorImpl(Grid<T> grid,
PropertySet<T> propertySet) |
Modifier and Type | Class and Description |
---|---|
class |
GridPro<E> |
Modifier and Type | Class and Description |
---|---|
class |
TreeGrid<T>
A grid component for displaying hierarchical tabular data.
|
Copyright © 2025. All rights reserved.