Skip navigation links
A B C D E G H I N O R S T V W 

A

addCancelListener(ComponentEventListener<Crud.CancelEvent<E>>) - Method in class com.vaadin.flow.component.crud.Crud
Registers a listener to be notified when the user cancels a new item creation or existing item modification in progress.
addDeleteListener(ComponentEventListener<Crud.DeleteEvent<E>>) - Method in class com.vaadin.flow.component.crud.Crud
Registers a listener to be notified when the user tries to delete an existing item.
addEditColumn(Grid) - Static method in class com.vaadin.flow.component.crud.Crud
A helper method to add an edit column to a grid.
addEditColumn(Grid, CrudI18n) - Static method in class com.vaadin.flow.component.crud.Crud
A helper method to add an edit column to a grid.
addEditListener(ComponentEventListener<Crud.EditEvent<E>>) - Method in class com.vaadin.flow.component.crud.Crud
Registers a listener to be notified when the user starts to edit an existing item.
addNewListener(ComponentEventListener<Crud.NewEvent<E>>) - Method in class com.vaadin.flow.component.crud.Crud
Registers a listener to be notified when the user starts to create a new item.
addSaveListener(ComponentEventListener<Crud.SaveEvent<E>>) - Method in class com.vaadin.flow.component.crud.Crud
Registers a listener to be notified when the user tries to save a new item or modifications to an existing item.
addThemeVariants(CrudVariant...) - Method in class com.vaadin.flow.component.crud.Crud
Adds theme variants to the component.

B

BinderCrudEditor<E> - Class in com.vaadin.flow.component.crud
A CRUD editor that binds editor fields to bean properties using a Binder.
BinderCrudEditor(Binder<E>) - Constructor for class com.vaadin.flow.component.crud.BinderCrudEditor
Initializes a BinderCrudEditor with the given binder and no form view
BinderCrudEditor(Binder<E>, Component) - Constructor for class com.vaadin.flow.component.crud.BinderCrudEditor
Initializes a BinderCrudEditor with the given binder and form view
Button() - Constructor for class com.vaadin.flow.component.crud.CrudI18n.Confirmations.Confirmation.Button
 

C

CancelEvent(Crud<E>, boolean, Object) - Constructor for class com.vaadin.flow.component.crud.Crud.CancelEvent
Creates a new event using the given source and indicator whether the event originated from the client side or the server side.
clear() - Method in class com.vaadin.flow.component.crud.BinderCrudEditor
Clears the editor.
clear() - Method in interface com.vaadin.flow.component.crud.CrudEditor
Clears the editor.
com.vaadin.flow.component.crud - package com.vaadin.flow.component.crud
 
Confirmation() - Constructor for class com.vaadin.flow.component.crud.CrudI18n.Confirmations.Confirmation
 
Confirmations() - Constructor for class com.vaadin.flow.component.crud.CrudI18n.Confirmations
 
createDefault() - Static method in class com.vaadin.flow.component.crud.CrudI18n
Creates a new instance with the default messages
Crud<E> - Class in com.vaadin.flow.component.crud
A component for performing CRUD operations on a data backend (e.g entities from a database).
Crud(Class<E>, Grid<E>, CrudEditor<E>) - Constructor for class com.vaadin.flow.component.crud.Crud
Instantiates a new Crud using a custom grid.
Crud(Class<E>, CrudEditor<E>) - Constructor for class com.vaadin.flow.component.crud.Crud
Instantiates a new Crud for the given bean type and uses the supplied editor.
Crud() - Constructor for class com.vaadin.flow.component.crud.Crud
Instantiates a new Crud with no grid, editor and runtime bean type information.
Crud.CancelEvent<E> - Class in com.vaadin.flow.component.crud
Event fired when the user cancels the creation of a new item or modifications to an existing item.
Crud.DeleteEvent<E> - Class in com.vaadin.flow.component.crud
Event fired when the user tries to delete an existing item.
Crud.EditEvent<E> - Class in com.vaadin.flow.component.crud
Event fired when the user starts to edit an existing item.
Crud.EditMode - Enum in com.vaadin.flow.component.crud
Determines whether an item presented for editing is to be treated as a new item or an existing item.
Crud.NewEvent<E> - Class in com.vaadin.flow.component.crud
Event fired when the user starts to create a new item.
Crud.SaveEvent<E> - Class in com.vaadin.flow.component.crud
Event fired when the user tries to save a new item or modifications to an existing item.
CrudEditor<E> - Interface in com.vaadin.flow.component.crud
Interface representing a crud editor.
CrudEditorPosition - Enum in com.vaadin.flow.component.crud
Enum with the possible values for the crud's editor position.
CrudFilter - Class in com.vaadin.flow.component.crud
The filter type for use with CrudGrid.
CrudFilter() - Constructor for class com.vaadin.flow.component.crud.CrudFilter
 
CrudGrid<E> - Class in com.vaadin.flow.component.crud
A simple grid implementation for Crud that allows searching and sorting backed by a data provider.
CrudGrid(Class<E>, boolean) - Constructor for class com.vaadin.flow.component.crud.CrudGrid
Instantiates a new CrudGrid for the supplied bean type.
CrudI18n - Class in com.vaadin.flow.component.crud
Internationalization object for customizing the component UI texts.
CrudI18n() - Constructor for class com.vaadin.flow.component.crud.CrudI18n
 
CrudI18n.Confirmations - Class in com.vaadin.flow.component.crud
The confirmation dialogs used in the component
CrudI18n.Confirmations.Confirmation - Class in com.vaadin.flow.component.crud
Represents texts in the confirmation dialogs
CrudI18n.Confirmations.Confirmation.Button - Class in com.vaadin.flow.component.crud
The confirmation options on a dialog
CrudI18nUpdatedEvent - Class in com.vaadin.flow.component.crud
Event fired to a crud grid when the internationalization object is changed.
CrudI18nUpdatedEvent(Crud<?>, boolean, CrudI18n) - Constructor for class com.vaadin.flow.component.crud.CrudI18nUpdatedEvent
Creates a new event using the given source and indicator whether the event originated from the client side or the server side.
CrudVariant - Enum in com.vaadin.flow.component.crud
The set of theme variants applicable to the vaadin-crud component.

D

DeleteEvent(Crud<E>, boolean, Object) - Constructor for class com.vaadin.flow.component.crud.Crud.DeleteEvent
Creates a new event using the given source and indicator whether the event originated from the client side or the server side.

E

edit(E, Crud.EditMode) - Method in class com.vaadin.flow.component.crud.Crud
Initiates an item edit from the server-side.
EditEvent(Crud<E>, boolean, JsonObject, Object) - Constructor for class com.vaadin.flow.component.crud.Crud.EditEvent
Creates a new event using the given source and indicator whether the event originated from the client side or the server side.

G

getBeanType() - Method in class com.vaadin.flow.component.crud.Crud
Gets the runtime bean type information
getButton() - Method in class com.vaadin.flow.component.crud.CrudI18n.Confirmations.Confirmation
Gets the confirmation options in a dialog
getCancel() - Method in class com.vaadin.flow.component.crud.CrudI18n.Confirmations
Gets the cancel confirmation dialog
getCancel() - Method in class com.vaadin.flow.component.crud.CrudI18n
Gets the cancel button text
getCancelButton() - Method in class com.vaadin.flow.component.crud.Crud
Gets the Crud cancel button
getConfirm() - Method in class com.vaadin.flow.component.crud.CrudI18n.Confirmations.Confirmation.Button
Gets the confirm text
getConfirm() - Method in class com.vaadin.flow.component.crud.CrudI18n
Gets the confirmation dialogs
getConstraints() - Method in class com.vaadin.flow.component.crud.CrudFilter
Returns the filter constraint applied to the grid as a map of column to filter text.
getContent() - Method in class com.vaadin.flow.component.crud.CrudI18n.Confirmations.Confirmation
Gets the main content in a dialog
getDataProvider() - Method in class com.vaadin.flow.component.crud.Crud
Gets the data provider supplying the grid data.
getDataProvider() - Method in class com.vaadin.flow.component.crud.CrudGrid
Gets the data provider set to the grid.
getDelete() - Method in class com.vaadin.flow.component.crud.CrudI18n.Confirmations
Gets the delete confirmation dialog
getDeleteButton() - Method in class com.vaadin.flow.component.crud.Crud
Gets the Crud editor delete button
getDeleteItem() - Method in class com.vaadin.flow.component.crud.CrudI18n
Gets the delete button text
getDismiss() - Method in class com.vaadin.flow.component.crud.CrudI18n.Confirmations.Confirmation.Button
Gets the dismiss text
getEditItem() - Method in class com.vaadin.flow.component.crud.CrudI18n
Gets the edit editor title text
getEditLabel() - Method in class com.vaadin.flow.component.crud.CrudI18n
Gets the edit button aria label
getEditor() - Method in class com.vaadin.flow.component.crud.Crud
Gets the crud editor.
getEditorPosition() - Method in class com.vaadin.flow.component.crud.Crud
Gets the current editor position on the desktop screen.
getFilter() - Method in class com.vaadin.flow.component.crud.CrudGrid
Gets the filter applied to this grid
getGrid() - Method in class com.vaadin.flow.component.crud.Crud
Gets the grid
getI18n() - Method in class com.vaadin.flow.component.crud.CrudI18nUpdatedEvent
Gets the new i18n
getItem() - Method in class com.vaadin.flow.component.crud.BinderCrudEditor
 
getItem() - Method in class com.vaadin.flow.component.crud.Crud.EditEvent
 
getItem() - Method in class com.vaadin.flow.component.crud.Crud.NewEvent
Gets new item being created
getItem() - Method in interface com.vaadin.flow.component.crud.CrudEditor
Returns the item being edited.
getNewItem() - Method in class com.vaadin.flow.component.crud.CrudI18n
Gets the new button and editor title text
getSaveButton() - Method in class com.vaadin.flow.component.crud.Crud
Gets the Crud save button
getSaveItem() - Method in class com.vaadin.flow.component.crud.CrudI18n
Gets the save button text
getSortOrders() - Method in class com.vaadin.flow.component.crud.CrudFilter
Returns the sort orders applied to the grid as a map of column to sort direction.
getTitle() - Method in class com.vaadin.flow.component.crud.CrudI18n.Confirmations.Confirmation
Gets the title on a dialog
getToolbarVisible() - Method in class com.vaadin.flow.component.crud.Crud
Gets visiblity state of toolbar
getVariantName() - Method in enum com.vaadin.flow.component.crud.CrudVariant
Gets the variant name.
getView() - Method in class com.vaadin.flow.component.crud.BinderCrudEditor
Deprecated.
This method should not be used outside.
getView() - Method in interface com.vaadin.flow.component.crud.CrudEditor
Returns the user interface of an editor.

H

hasEditColumn(Grid) - Static method in class com.vaadin.flow.component.crud.Crud
Checks if an edit column has been added to the Grid using Crud.addEditColumn(Grid)

I

isEditOnClick() - Method in class com.vaadin.flow.component.crud.Crud
Gets whether click on row to edit item is enabled or not.

N

NewEvent(Crud<E>, boolean, Object) - Constructor for class com.vaadin.flow.component.crud.Crud.NewEvent
Creates a new event using the given source and indicator whether the event originated from the client side or the server side.

O

onAttach(AttachEvent) - Method in class com.vaadin.flow.component.crud.Crud
 

R

removeEditColumn(Grid) - Static method in class com.vaadin.flow.component.crud.Crud
Removes the crud edit column from a grid
removeThemeVariants(CrudVariant...) - Method in class com.vaadin.flow.component.crud.Crud
Removes theme variants from the component.

S

SaveEvent(Crud<E>, boolean, Object) - Constructor for class com.vaadin.flow.component.crud.Crud.SaveEvent
Creates a new event using the given source and indicator whether the event originated from the client side or the server side.
setBeanType(Class<E>) - Method in class com.vaadin.flow.component.crud.Crud
Sets the runtime bean type information.
setButton(CrudI18n.Confirmations.Confirmation.Button) - Method in class com.vaadin.flow.component.crud.CrudI18n.Confirmations.Confirmation
Sets the confirmation options in a dialog
setCancel(CrudI18n.Confirmations.Confirmation) - Method in class com.vaadin.flow.component.crud.CrudI18n.Confirmations
Sets the cancel confirmation dialog
setCancel(String) - Method in class com.vaadin.flow.component.crud.CrudI18n
Sets the cancel button text
setConfirm(String) - Method in class com.vaadin.flow.component.crud.CrudI18n.Confirmations.Confirmation.Button
Sets the confirm text
setConfirm(CrudI18n.Confirmations) - Method in class com.vaadin.flow.component.crud.CrudI18n
Sets the confirmation dialogs
setContent(String) - Method in class com.vaadin.flow.component.crud.CrudI18n.Confirmations.Confirmation
Sets the main content in a dialog
setDataProvider(DataProvider<E, ?>) - Method in class com.vaadin.flow.component.crud.Crud
Sets the data provider for the grid.
setDataProvider(DataProvider<E, ?>) - Method in class com.vaadin.flow.component.crud.CrudGrid
Sets a DataProvider<E, CrudFilter>
setDelete(CrudI18n.Confirmations.Confirmation) - Method in class com.vaadin.flow.component.crud.CrudI18n.Confirmations
Sets the delete confirmation dialog
setDeleteItem(String) - Method in class com.vaadin.flow.component.crud.CrudI18n
Sets the delete button text
setDirty(boolean) - Method in class com.vaadin.flow.component.crud.Crud
Set the dirty state of the Crud.
setDismiss(String) - Method in class com.vaadin.flow.component.crud.CrudI18n.Confirmations.Confirmation.Button
Sets the dismiss text
setEditItem(String) - Method in class com.vaadin.flow.component.crud.CrudI18n
Sets the edit editor title text
setEditLabel(String) - Method in class com.vaadin.flow.component.crud.CrudI18n
Sets the edit button aria label
setEditOnClick(boolean) - Method in class com.vaadin.flow.component.crud.Crud
Sets the option to open item to edit by row click.
setEditor(CrudEditor<E>) - Method in class com.vaadin.flow.component.crud.Crud
Sets the editor.
setEditorPosition(CrudEditorPosition) - Method in class com.vaadin.flow.component.crud.Crud
Sets how editor will be presented on desktop screen.
setGrid(Grid<E>) - Method in class com.vaadin.flow.component.crud.Crud
Sets the grid
setI18n(CrudI18n) - Method in class com.vaadin.flow.component.crud.Crud
Sets the internationalized messages to be used by this crud instance.
setItem(E, boolean) - Method in class com.vaadin.flow.component.crud.BinderCrudEditor
 
setItem(E) - Method in interface com.vaadin.flow.component.crud.CrudEditor
Sets an item to be edited.
setItem(E, boolean) - Method in interface com.vaadin.flow.component.crud.CrudEditor
Sets an item to be edited.
setNewItem(String) - Method in class com.vaadin.flow.component.crud.CrudI18n
Sets the new button and editor title text
setOpened(boolean) - Method in class com.vaadin.flow.component.crud.Crud
Opens or closes the editor.
setSaveItem(String) - Method in class com.vaadin.flow.component.crud.CrudI18n
Sets the save button text
setTitle(String) - Method in class com.vaadin.flow.component.crud.CrudI18n.Confirmations.Confirmation
Sets the title on a dialog
setToolbar(Component...) - Method in class com.vaadin.flow.component.crud.Crud
Sets the content of the toolbar.
setToolbarVisible(boolean) - Method in class com.vaadin.flow.component.crud.Crud
Controls visiblity of toolbar

T

toString() - Method in class com.vaadin.flow.component.crud.CrudI18n.Confirmations.Confirmation.Button
 
toString() - Method in class com.vaadin.flow.component.crud.CrudI18n.Confirmations.Confirmation
 
toString() - Method in class com.vaadin.flow.component.crud.CrudI18n.Confirmations
 
toString() - Method in class com.vaadin.flow.component.crud.CrudI18n
 

V

validate() - Method in class com.vaadin.flow.component.crud.BinderCrudEditor
 
validate() - Method in interface com.vaadin.flow.component.crud.CrudEditor
Runs validations on the data entered into an editor and returns their validity but could also have side-effects such as showing visual indicators for invalid fields.
valueOf(String) - Static method in enum com.vaadin.flow.component.crud.Crud.EditMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.vaadin.flow.component.crud.CrudEditorPosition
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.vaadin.flow.component.crud.CrudVariant
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.vaadin.flow.component.crud.Crud.EditMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.vaadin.flow.component.crud.CrudEditorPosition
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.vaadin.flow.component.crud.CrudVariant
Returns an array containing the constants of this enum type, in the order they are declared.

W

writeItemChanges() - Method in class com.vaadin.flow.component.crud.BinderCrudEditor
 
writeItemChanges() - Method in interface com.vaadin.flow.component.crud.CrudEditor
Writes any pending input update (if any) to the item.
A B C D E G H I N O R S T V W 
Skip navigation links

Copyright © 2022. All rights reserved.