public class CrudI18nUpdatedEvent extends ComponentEvent<Crud<?>>
ComponentUtil.addListener(myGrid, CrudI18nUpdatedEvent.class, event -> {
CrudI18n newI18n = event.getI18n();
// Localize an item in myGrid.
});
source| Constructor and Description |
|---|
CrudI18nUpdatedEvent(Crud<?> source,
boolean fromClient,
CrudI18n i18n)
Creates a new event using the given source and indicator whether the
event originated from the client side or the server side.
|
| Modifier and Type | Method and Description |
|---|---|
CrudI18n |
getI18n()
Gets the new i18n
|
getSource, isFromClient, unregisterListenertoStringpublic CrudI18nUpdatedEvent(Crud<?> source, boolean fromClient, CrudI18n i18n)
source - the source componentfromClient - true if the event originated from the clienti18n - the new i18n objectpublic CrudI18n getI18n()
Copyright © 2025. All rights reserved.